Function toError

  • Deserializes an error response object into an ErrorRPCRemote instance.

    Parameters

    • errorData: JSONValue

      The error data object.

    • clientMetadata: JSONValue
    • top: boolean = true

    Returns any

    The deserialized error.

Generated using TypeDoc