import type { TypedError } from './TypedError.js' /** * An error yield of writeContractOptimistic * Errors are yielded rather than throwing */ export type GenError = { errors?: ReadonlyArray> error: TErrorType success: false tag: TTag }