Skip to content

GenError

GenError<TErrorType, TTag>: object

An error yield of writeContractOptimistic Errors are yielded rather than throwing

Type parameters

TErrorType

TTag extends string

Type declaration

error

error: TErrorType

errors?

optional errors: ReadonlyArray<TypedError<string>>

success

success: false

tag

tag: TTag

Source

extensions/viem/src/GenError.ts:7