@metamask/kernel-errors
Version:
14 lines • 936 B
text/typescript
export type { OcapError, MarshaledError } from "./types.mjs";
export { VatAlreadyExistsError } from "./errors/VatAlreadyExistsError.mjs";
export { VatDeletedError } from "./errors/VatDeletedError.mjs";
export { VatNotFoundError } from "./errors/VatNotFoundError.mjs";
export { StreamReadError } from "./errors/StreamReadError.mjs";
export { SubclusterNotFoundError } from "./errors/SubclusterNotFoundError.mjs";
export { ErrorCode, ErrorSentinel, ErrorStruct, MarshaledErrorStruct, MarshaledOcapErrorStruct, } from "./constants.mjs";
export { toError } from "./utils/toError.mjs";
export { isOcapError } from "./utils/isOcapError.mjs";
export { marshalError } from "./marshal/marshalError.mjs";
export { unmarshalError } from "./marshal/unmarshalError.mjs";
export { isMarshaledError } from "./marshal/isMarshaledError.mjs";
export { isMarshaledOcapError } from "./marshal/isMarshaledOcapError.mjs";
//# sourceMappingURL=index.d.mts.map