@cardano-sdk/util
Advanced tools
Comparing version 0.12.1 to 0.13.0
@@ -15,2 +15,5 @@ import { CustomError } from 'ts-custom-error'; | ||
} | ||
export declare class InvalidStateError extends CustomError { | ||
constructor(message: string); | ||
} | ||
//# sourceMappingURL=errors.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.InvalidArgumentError = exports.InvalidStringError = exports.ComposableError = exports.stripStackTrace = exports.formatErrorMessage = void 0; | ||
exports.InvalidStateError = exports.InvalidArgumentError = exports.InvalidStringError = exports.ComposableError = exports.stripStackTrace = exports.formatErrorMessage = void 0; | ||
const ts_custom_error_1 = require("ts-custom-error"); | ||
@@ -60,2 +60,8 @@ const formatErrorMessage = (reason, detail) => reason + (detail ? ` (${detail})` : ''); | ||
exports.InvalidArgumentError = InvalidArgumentError; | ||
class InvalidStateError extends ts_custom_error_1.CustomError { | ||
constructor(message) { | ||
super(`Invalid state': ${message}`); | ||
} | ||
} | ||
exports.InvalidStateError = InvalidStateError; | ||
//# sourceMappingURL=errors.js.map |
@@ -15,2 +15,5 @@ import { CustomError } from 'ts-custom-error'; | ||
} | ||
export declare class InvalidStateError extends CustomError { | ||
constructor(message: string); | ||
} | ||
//# sourceMappingURL=errors.d.ts.map |
@@ -52,2 +52,7 @@ import { CustomError } from 'ts-custom-error'; | ||
} | ||
export class InvalidStateError extends CustomError { | ||
constructor(message) { | ||
super(`Invalid state': ${message}`); | ||
} | ||
} | ||
//# sourceMappingURL=errors.js.map |
{ | ||
"name": "@cardano-sdk/util", | ||
"version": "0.12.1", | ||
"version": "0.13.0", | ||
"description": "General, not cardano-specific utils", | ||
@@ -65,3 +65,3 @@ "engines": { | ||
], | ||
"gitHead": "13adbccfb323611b1972ccc7a5498a033ea5fcc5" | ||
"gitHead": "a036575fda25ab17463821ef0e22f480f273d66d" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
407492
1615