Skip to content

Commit

Permalink
Start work on typed errors
Browse files Browse the repository at this point in the history
  • Loading branch information
salmenf committed Oct 10, 2024
1 parent 24e5475 commit 979e918
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions @webwriter/core/model/stores/packagestore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,14 @@ const BUNDLE_LOADER_MAP = {

const BUNDLE_LOADER_OPTIONS = Object.entries(BUNDLE_LOADER_MAP).flatMap(([loader, exts]) => exts.map(ext => `--loader:${ext}=${loader}`))

export class ServiceIssue extends Error {}
export class ReadWriteIssue extends Error {}
export class InstallIssue extends Error {}
export class UninstallIssue extends Error {}
export class UpdateIssue extends Error {}
export class BundleIssue extends Error {

export class PackageIssue extends Error {}
export class ServiceIssue extends PackageIssue {}
export class ReadWriteIssue extends PackageIssue {}
export class InstallIssue extends PackageIssue {}
export class UninstallIssue extends PackageIssue {}
export class UpdateIssue extends PackageIssue {}
export class BundleIssue extends PackageIssue {

stack?: string
id?: string
Expand Down

0 comments on commit 979e918

Please sign in to comment.