zplCore.comzplCore.com

NucleusException

public sealed class NucleusException : Exception

A failed call to the Zebra Cloud Print API. Never contains the API token.

Constructors

SignatureDescription
# NucleusException(NucleusErrorKind kind, string message, Exception? inner = default)

Properties

PropertyTypeDescription
GrpcStatus { get; init; }intgRPC status code (3 INVALID_ARGUMENT, 16 UNAUTHENTICATED …); -1 when none was received.
Kind { get; }NucleusErrorKind
RequestSent { get; init; }boolThe request may have reached the service (then repeating it could print twice).
Retryable { get; }boolTrue 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; }stringSerial number of the printer the error belongs to (per-printer errors of Print).