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