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

Defined in

extensions/viem/src/GenError.ts:7