Error.ts
Added in v0.4.0
SystemErrorReason
Section titled “SystemErrorReason”Signature
export declare const SystemErrorReason: Schema.Literal< ["DynamicImport", "ReadContract", "InvalidData", "SimulateCalls", "Crypto"]>Added in v0.4.0
SystemErrorReason (type alias)
Section titled “SystemErrorReason (type alias)”Signature
export type SystemErrorReason = typeof SystemErrorReason.TypeAdded in v0.4.0
Models
Section titled “Models”BadArgument (class)
Section titled “BadArgument (class)”Signature
export declare class BadArgumentAdded in v0.4.0
[TypeId] (property)
Section titled “[TypeId] (property)”Signature
readonly [TypeId]: typeof TypeIdAdded in v0.4.0
Module
Section titled “Module”Signature
export declare const Module: Schema.Literal< ["EvmWalletClient", "EvmPublicClient", "PaymentClient", "Prover", "Attestor", "IbcCoreRegistry"]>Added in v0.4.0
SdkError
Section titled “SdkError”Signature
export declare const SdkError: Schema.Union<[typeof BadArgument, typeof SystemError]>Added in v0.4.0
SdkError (type alias)
Section titled “SdkError (type alias)”Signature
export type SdkError = BadArgument | SystemErrorAdded in v0.4.0
TypeIdError
Section titled “TypeIdError”Signature
export declare const TypeIdError: <const TypeId extends symbol, const Tag extends string>( typeId: TypeId, tag: Tag) => new <A extends Record<string, any>>( args: Simplify<A>) => Cause.YieldableError & Record<TypeId, TypeId> & { readonly _tag: Tag } & Readonly<A>Added in v0.4.0
models
Section titled “models”SystemError (class)
Section titled “SystemError (class)”Signature
export declare class SystemErrorAdded in v0.4.0
[TypeId] (property)
Section titled “[TypeId] (property)”Signature
readonly [TypeId]: typeof TypeIdAdded in v0.4.0
refinements
Section titled “refinements”isSdkError
Section titled “isSdkError”Signature
export declare const isSdkError: (u: unknown) => u is SdkErrorAdded in v0.4.0
type id
Section titled “type id”TypeId
Section titled “TypeId”Signature
export declare const TypeId: typeof TypeIdAdded in v0.4.0
TypeId (type alias)
Section titled “TypeId (type alias)”Signature
export type TypeId = typeof TypeIdAdded in v0.4.0