Logo Orsak

RemoteCallException Type

Raised when a remote call fails, for a reason that isn't the contract's: the server is unreachable, or answers with an error status, such as 401 to a caller it doesn't know. The contract's own errors are in its Result.

Constructors

Constructor Description

RemoteCallException(message)

Full Usage: RemoteCallException(message)

Parameters:
    message : string

Returns: RemoteCallException

Raised when the server couldn't be reached.

message : string
Returns: RemoteCallException

RemoteCallException(message, statusCode)

Full Usage: RemoteCallException(message, statusCode)

Parameters:
    message : string
    statusCode : int option

Returns: RemoteCallException
message : string
statusCode : int option
Returns: RemoteCallException

Instance members

Instance member Description

this.StatusCode

Full Usage: this.StatusCode

Returns: int option

The status the server answered with, such as 401 or 403 from its authorization, or None if it couldn't be reached.

Returns: int option

Type something to start searching.