Skip to content

Commit

Permalink
feat: 🎸 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jamashita committed Apr 23, 2024
1 parent 66a5e62 commit 039a6b6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/address/AddressError.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { CollectionError } from '../collection/index.js';

export class AddressError extends CollectionError {
// NOOP
}
1 change: 1 addition & 0 deletions src/address/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export * from './mock/index.js';
export * from './Address.js';
export * from './AddressError.js';
export * from './ImmutableAddress.js';
export * from './MutableAddress.js';
export * from './ReadonlyAddress.js';
5 changes: 5 additions & 0 deletions src/dictionary/DictionaryError.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { CollectionError } from '../collection/index.js';

export class DictionaryError extends CollectionError {
// NOOP
}
3 changes: 2 additions & 1 deletion src/dictionary/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export * from './mock/index.js';
export * from './Dictionary.js';
export * from './DictionaryError.js';
export * from './ImmutableDictionary.js';
export * from './MutableDictionary.js';
export * from './Dictionary.js';
export * from './ReadonlyDictionary.js';

0 comments on commit 039a6b6

Please sign in to comment.