public sealed class NucleusException : Exception
A failed call to the Zebra Cloud Print API. Never contains the API token.
Constructors
| Signature | Description |
# NucleusException(NucleusErrorKind kind, string message, Exception? inner = default) | |
Properties
| Property | Type | Description |
GrpcStatus { get; init; } | int | gRPC status code (3 INVALID_ARGUMENT, 16 UNAUTHENTICATED …); -1 when none was received. |
Kind { get; } | NucleusErrorKind | |
RequestSent { get; init; } | bool | The request may have reached the service (then repeating it could print twice). |
Retryable { get; } | bool | True when the same request may succeed later without printing twice: UNAVAILABLE (transient, retry with backoff) or a connection that could not be opened. RESOURCE_EXHAUSTED is not: it lasts until the daily reset. |
SerialNumber { get; init; } | string | Serial number of the printer the error belongs to (per-printer errors of Print). |