Skip to content

toServerConfigurationError

toServerConfigurationError(error): ServerConfigurationError | undefined

Defined in: sdks/js/node-sdk/src/ServerConfiguration.ts:132

Classifies an error from any SDK call as one of the six configuration failures, or undefined when it is something else.

Use this where the SDK hands back the raw error, for instance a ChainNotAcceptedError raised deep inside a call that supplies a smart contract wallet signature.

unknown

ServerConfigurationError | undefined