Skip to main content

Type Alias: ContractErrorName<abi>

type ContractErrorName<abi>: ExtractAbiErrorNames<abi extends Abi ? abi : Abi> extends infer errorName ? [errorName] extends [never] ? string : errorName : string;

Type Parameters

Type ParameterDefault type

abi extends Abi | readonly unknown[]

Abi

Defined

@nilfoundation/niljs/src/contract-factory/ContractFactory.ts:54