@fonos/errors
Advanced tools
Comparing version 0.0.79 to 0.0.81
@@ -1,4 +0,4 @@ | ||
import FonosError from './error'; | ||
import FonosError from "./error"; | ||
export default class extends FonosError { | ||
constructor(message?: string); | ||
} |
@@ -7,3 +7,3 @@ "use strict"; | ||
super(message); | ||
this.name = 'FonosError'; | ||
this.name = "FonosError"; | ||
this.code = code; | ||
@@ -10,0 +10,0 @@ if (Error.captureStackTrace) { |
@@ -1,4 +0,4 @@ | ||
import FonosError from './error'; | ||
import FonosError from "./error"; | ||
export default class extends FonosError { | ||
constructor(message?: string); | ||
} |
@@ -1,6 +0,6 @@ | ||
import FonosError from './error'; | ||
import FonosAuthError from './auth_error'; | ||
import FonosInvalidArgument from './invalid_argument'; | ||
import FonosFailedPrecondition from './failed_precondition'; | ||
import FonosSubsysUnavailable from './subsys_unavailable'; | ||
import FonosError from "./error"; | ||
import FonosAuthError from "./auth_error"; | ||
import FonosInvalidArgument from "./invalid_argument"; | ||
import FonosFailedPrecondition from "./failed_precondition"; | ||
import FonosSubsysUnavailable from "./subsys_unavailable"; | ||
export { FonosError, FonosAuthError, FonosInvalidArgument, FonosFailedPrecondition, FonosSubsysUnavailable }; |
@@ -1,4 +0,4 @@ | ||
import FonosError from './error'; | ||
import FonosError from "./error"; | ||
export default class extends FonosError { | ||
constructor(message?: string); | ||
} |
@@ -11,5 +11,5 @@ "use strict"; | ||
super(message, codes_1.INVALID_ARGUMENT); | ||
this.name = 'FonosInvalidArgument'; | ||
this.name = "FonosInvalidArgument"; | ||
} | ||
} | ||
exports.default = default_1; |
@@ -1,4 +0,4 @@ | ||
import FonosError from './error'; | ||
import FonosError from "./error"; | ||
export default class extends FonosError { | ||
constructor(message?: string); | ||
} |
{ | ||
"name": "@fonos/errors", | ||
"version": "0.0.79", | ||
"version": "0.0.81", | ||
"description": "Handles Fonos errors", | ||
@@ -36,3 +36,3 @@ "author": "Pedro Sanders <sanderspedro@gmail.com>", | ||
}, | ||
"gitHead": "9e434071d70d54b903a0ef48f101fc4fc639883f" | ||
"gitHead": "983ae83264743dc9696719ed1ca9c01d6a392ff9" | ||
} |