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?
optionalerrors:ReadonlyArray<TypedError<string>>
success
success:
false
tag
tag:
TTag