@iotize/device-client.js
Version:
IoTize Device client for Javascript
15 lines (14 loc) • 580 B
TypeScript
export declare class APDUError extends Error {
code: APDUError.Code;
static responseCodeError(responseCode: Uint8Array, data: Uint8Array): void;
static frameSizePayloadTooSmall(expectedSize: number, frame: Uint8Array): APDUError;
static frameSizeTooSmall(frame: Uint8Array): APDUError;
frame: Uint8Array;
constructor(code: APDUError.Code, message: string, frame: Uint8Array);
}
export declare namespace APDUError {
enum Code {
APDUSizeTooSmall = "APDUSizeTooSmall",
APDUResponseCodeError = "APDUResponseCodeError"
}
}