@u4/adbkit
Version:
A Typescript client for the Android Debug Bridge.
27 lines • 863 B
TypeScript
/**
* AdbError is the common parent class for all ADB Exceptions:
* AdbFailError AdbPrematureEOFError and AdbUnexpectedDataError
*/
export declare class AdbError extends Error {
lastMessage: string;
constructor(message: string, lastMessage: string);
}
/**
* a command call respond an Error
*/
export declare class AdbFailError extends AdbError {
constructor(message: string, lastMessage: string);
}
/**
* the connection get interupt before the end of expected response
*/
export declare class AdbPrematureEOFError extends AdbError {
missingBytes: number;
constructor(missingBytes: number, lastMessage: string);
}
export declare class AdbUnexpectedDataError extends AdbError {
unexpected: string;
expected: string;
constructor(unexpected: string, expected: string, lastMessage: string);
}
//# sourceMappingURL=errors.d.ts.map