Skip to content

API ReferenceErrorsEnumeration

BaseValidationErrorType

The stable root vocabulary a wallet operation’s validationErrorResponse uses when the failure is not about one input field. Consumers map each member to copy; the SDK’s own copy is in getValidationErrorMessage.

Enumeration Members

Enumeration MemberValueDescription
InvalidRequest"InvalidRequest"The request is malformed or disagrees with the configured profile. A coding error in the caller, not a runtime condition.
RejectedByUser"RejectedByUser"The user declined the request in the wallet. Nothing was sent.
ServiceError"ServiceError"A service the request depends on (RPC provider, price server, subgraph) did not answer. Check the operation’s transactionHash: when it is absent nothing was sent and trying again is safe; when it is present the transaction was already broadcast and the failure was in waiting for its receipt, so check the chain before resending.
Unauthorized"Unauthorized"The signer is not permitted to perform this request.
UnknownError"UnknownError"No recognised classification. If this ever happens, handle the error, thereby making it known.
UnknownOutcome"UnknownOutcome"The connection failed while the transaction was being sent, so the node may or may not have accepted it and there is no transactionHash. Not a failure: the operation is Indeterminate, and retrying may send it twice. Check wallet activity first.
WalletNotConnected"WalletNotConnected"No wallet is connected, or it changed while the request was in flight.