diff options
Diffstat (limited to 'iridescence/src/api/error.js')
-rw-r--r-- | iridescence/src/api/error.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/iridescence/src/api/error.js b/iridescence/src/api/error.js new file mode 100644 index 0000000..7c9320d --- /dev/null +++ b/iridescence/src/api/error.js @@ -0,0 +1,6 @@ +export default class ApiError extends Error { + constructor(message) { + super(message); + this.name = "ApiError"; + } +} |