EnsNameError
Defined in: names-ens/src/ens.ts:47
Extends
Section titled “Extends”NameError
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new EnsNameError(
code,message,detail?,reason?):EnsNameError
Defined in: names-ens/src/ens.ts:50
Parameters
Section titled “Parameters”NameErrorCode
message
Section titled “message”string
detail?
Section titled “detail?”cause?
Section titled “cause?”unknown
chain?
Section titled “chain?”string
string
reason?
Section titled “reason?”"ccip-proxy-required"
Returns
Section titled “Returns”EnsNameError
Overrides
Section titled “Overrides”NameError.constructor
Properties
Section titled “Properties”
readonlycode:NameErrorCode
Defined in: core/dist/index.d.ts:332
Inherited from
Section titled “Inherited from”NameError.code
detail
Section titled “detail”
readonlydetail:object
Defined in: core/dist/index.d.ts:333
cause?
Section titled “cause?”
optionalcause?:unknown
chain?
Section titled “chain?”
optionalchain?:string
optionalname?:string
Inherited from
Section titled “Inherited from”NameError.detail
readonlyname:"NameError"="NameError"
Defined in: core/dist/index.d.ts:338
Inherited from
Section titled “Inherited from”NameError.name
reason
Section titled “reason”
readonlyreason:"ccip-proxy-required"|undefined
Defined in: names-ens/src/ens.ts:49
Set when the cause is the app’s setup, not the name or the network: see EnsNameErrorReason.