Error

data class Error(val message: String, val code: String) : FiscalPurchaseResult<Nothing>

Represents an error result of an operation.

* Possible error codes: - "001": Print error. - "002": Empty session summary. - "003": Intent parameters error. - "004": Authentication error. - "005": Merchant offline mode disabled. - "006": Missing invoice. - "007": Purchase failure. - "008": Operation cancelled. - "009": No internet connection. - "010": Internal error. - "011": Open shift error. - "012": Close shift error. - "013": Process cheque error. - "014": Post offline error. - "015": Operation not in queue. - "016": Offline mode is disabled. - "017": Offline failure. - "018": Fiscal failure. - "019": Not fiscalized failure. - "020": Stop transaction not allowed error. - "021": Device SN unavailable. - "022": Operation in progress. - "023": Printer out if paper. - "024": Offline card rules not ready. - "025": Purchase not found.

Constructors

Link copied to clipboard
constructor(message: String, code: String)

Properties

Link copied to clipboard
val code: String

An error code identifying the type of error.

Link copied to clipboard
val message: String

A message describing the error.