CryptoServiceException¶
Namespace CryptoService.Sdk.
The base of every error the client raises for a call that did not succeed: CryptoApiException when the server answered outside 2xx, CryptoTransportException when no usable answer arrived.
Remarks¶
Messages never carry a credential, a key, a plaintext or a body, so they are safe to log. Cancelling a call through its CancellationToken raises OperationCanceledException instead.
Methods¶
CryptoServiceException()¶
Creates an exception with a default message.
CryptoServiceException(String)¶
Creates an exception with the given message.
| Parameter | Description |
|---|---|
message |
What went wrong. |
CryptoServiceException(String, Exception)¶
Creates an exception with a message and its cause.
| Parameter | Description |
|---|---|
message |
What went wrong. |
innerException |
The exception that caused this one. |