UNPKG

react-native-esc-pos-printer

Version:

An unofficial React Native library for printing on an EPSON TM printer with the Epson ePOS SDK for iOS and Epson ePOS SDK for Android

20 lines (19 loc) 451 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PrinterError = void 0; class PrinterError extends Error { message = ''; name = 'PrinterError'; timestamp = 0; status = ''; methodName = ''; constructor(params) { super(params.message); Object.assign(this, params); } } exports.PrinterError = PrinterError; PrinterError.prototype.name = 'PrinterError'; //# sourceMappingURL=PrinterError.js.map