@fuel-ts/errors
Advanced tools
Comparing version 0.0.0-next-20240703103717 to 0.0.0-next-20240703111753
@@ -76,4 +76,5 @@ /** | ||
STREAM_PARSING_ERROR = "stream-parsing-error", | ||
NODE_LAUNCH_FAILED = "node-launch-failed", | ||
UNKNOWN = "unknown" | ||
} | ||
//# sourceMappingURL=error-codes.d.ts.map |
@@ -83,2 +83,3 @@ "use strict"; | ||
ErrorCode2["STREAM_PARSING_ERROR"] = "stream-parsing-error"; | ||
ErrorCode2["NODE_LAUNCH_FAILED"] = "node-launch-failed"; | ||
ErrorCode2["UNKNOWN"] = "unknown"; | ||
@@ -85,0 +86,0 @@ return ErrorCode2; |
@@ -106,2 +106,3 @@ "use strict"; | ||
ErrorCode2["STREAM_PARSING_ERROR"] = "stream-parsing-error"; | ||
ErrorCode2["NODE_LAUNCH_FAILED"] = "node-launch-failed"; | ||
ErrorCode2["UNKNOWN"] = "unknown"; | ||
@@ -108,0 +109,0 @@ return ErrorCode2; |
@@ -88,2 +88,3 @@ "use strict"; | ||
ErrorCode2["STREAM_PARSING_ERROR"] = "stream-parsing-error"; | ||
ErrorCode2["NODE_LAUNCH_FAILED"] = "node-launch-failed"; | ||
ErrorCode2["UNKNOWN"] = "unknown"; | ||
@@ -131,4 +132,5 @@ return ErrorCode2; | ||
expect(thrownError).toMatchObject(expectedError); | ||
return thrownError; | ||
}; | ||
})(); | ||
//# sourceMappingURL=test-utils.global.js.map |
@@ -113,2 +113,3 @@ "use strict"; | ||
ErrorCode2["STREAM_PARSING_ERROR"] = "stream-parsing-error"; | ||
ErrorCode2["NODE_LAUNCH_FAILED"] = "node-launch-failed"; | ||
ErrorCode2["UNKNOWN"] = "unknown"; | ||
@@ -156,2 +157,3 @@ return ErrorCode2; | ||
expect(thrownError).toMatchObject(expectedError); | ||
return thrownError; | ||
}; | ||
@@ -158,0 +160,0 @@ // Annotate the CommonJS export names for ESM import in node: |
import type { FuelError } from '../fuel-error'; | ||
type ExpectedFuelError = Partial<FuelError> & Required<Pick<FuelError, 'code'>>; | ||
export declare const expectToThrowFuelError: (lambda: () => unknown, expectedError: ExpectedFuelError) => Promise<void>; | ||
export declare const expectToThrowFuelError: (lambda: () => unknown, expectedError: ExpectedFuelError) => Promise<FuelError>; | ||
export {}; | ||
//# sourceMappingURL=expect-to-throw-fuel-error.d.ts.map |
{ | ||
"name": "@fuel-ts/errors", | ||
"version": "0.0.0-next-20240703103717", | ||
"version": "0.0.0-next-20240703111753", | ||
"description": "Error class and error codes that the fuels-ts library throws", | ||
@@ -36,3 +36,3 @@ "author": "Fuel Labs <contact@fuel.sh> (https://fuel.network/)", | ||
"dependencies": { | ||
"@fuel-ts/versions": "0.0.0-next-20240703103717" | ||
"@fuel-ts/versions": "0.0.0-next-20240703111753" | ||
}, | ||
@@ -39,0 +39,0 @@ "scripts": { |
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
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
118983
948
+ Added@fuel-ts/versions@0.0.0-next-20240703111753(transitive)
- Removed@fuel-ts/versions@0.0.0-next-20240703103717(transitive)