Skip to content

Commit

Permalink
set correct error names
Browse files Browse the repository at this point in the history
  • Loading branch information
KurtThiemann committed Feb 1, 2023
1 parent 3138097 commit 62337db
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "armarius",
"version": "1.9.0",
"version": "1.9.1",
"description": "A JavaScript library to read, write, and merge ZIP archives in web browsers.",
"repository": "github:aternosorg/armarius",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion src/Error/ArmariusError.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export default class ArmariusError extends Error {

/** @type {string} */ name = 'ArmariusError';
}
2 changes: 1 addition & 1 deletion src/Error/ChecksumError.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ZipError from './ZipError.js';

export default class ChecksumError extends ZipError {

/** @type {string} */ name = 'ChecksumError';
}
2 changes: 1 addition & 1 deletion src/Error/FeatureError.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ArmariusError from './ArmariusError.js';

export default class FeatureError extends ArmariusError {

/** @type {string} */ name = 'FeatureError';
}
2 changes: 1 addition & 1 deletion src/Error/OptionError.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ArmariusError from './ArmariusError.js';

export default class OptionError extends ArmariusError {

/** @type {string} */ name = 'OptionError';
}
2 changes: 1 addition & 1 deletion src/Error/ZipError.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ArmariusError from './ArmariusError.js';

export default class ZipError extends ArmariusError {

/** @type {string} */ name = 'ZipError';
}

0 comments on commit 62337db

Please sign in to comment.