@trezor/transport
Version:
Low level library facilitating protocol buffers based communication with Trezor devices
22 lines • 1.5 kB
TypeScript
export declare const INTERFACE_UNABLE_TO_OPEN_DEVICE: "Unable to open device";
export declare const INTERFACE_UNABLE_TO_CLOSE_DEVICE: "Unable to close device";
export declare const INTERFACE_DATA_TRANSFER: "A transfer error has occurred.";
export declare const DEVICE_NOT_FOUND: "device not found";
export declare const DEVICE_UNREADABLE: "Device unreadable";
export declare const SESSION_WRONG_PREVIOUS: "wrong previous session";
export declare const SESSION_NOT_FOUND: "session not found";
export declare const SESSION_BACKGROUND_TIMEOUT: "sessions background did not respond";
export declare const ALREADY_LISTENING: "already listening";
export declare const NATIVE_INTERFACE_NOT_AVAILABLE: "interface not available";
export declare const WRONG_RESULT_TYPE: "Wrong result type.";
export declare const WRONG_ENVIRONMENT: "This transport can not be used in this environment";
export declare const DEVICE_DISCONNECTED_DURING_ACTION: "device disconnected during action";
export declare const OTHER_CALL_IN_PROGRESS: "other call in progress";
export declare const HTTP_ERROR: "Network request failed";
export declare const API_DISCONNECTED: "Api disconnected";
export declare const UNEXPECTED_ERROR: "unexpected error";
export declare const ABORTED_BY_SIGNAL: "Aborted by signal";
export declare const ABORTED_BY_TIMEOUT: "Aborted by timeout";
export declare const LIBUSB_ERROR_ACCESS: "LIBUSB_ERROR_ACCESS";
export declare const THP_STATE_MISSING: "ThpStateMissing";
//# sourceMappingURL=errors.d.ts.map