NearRpcError
Defined in: wallet-near/src/errors.ts:58
The RPC answered with an error object.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new NearRpcError(
method,error):NearRpcError
Defined in: wallet-near/src/errors.ts:62
Parameters
Section titled “Parameters”method
Section titled “method”string
cause?
Section titled “cause?”{ info?: unknown; name?: string; }
cause.info?
Section titled “cause.info?”unknown
cause.name?
Section titled “cause.name?”string
number
unknown
message?
Section titled “message?”string
string
Returns
Section titled “Returns”NearRpcError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”
readonlycause:unknown
Defined in: wallet-near/src/errors.ts:61
Overrides
Section titled “Overrides”Error.cause
errorName
Section titled “errorName”
readonlyerrorName:string|undefined
Defined in: wallet-near/src/errors.ts:60
method
Section titled “method”
readonlymethod:string
Defined in: wallet-near/src/errors.ts:59