@iotize/device-client.js
Version:
IoTize Device client for Javascript
16 lines (15 loc) • 594 B
TypeScript
export declare class TapError extends Error {
cause?: Error | undefined;
code: string;
constructor(code: TapError.Code, message?: string, cause?: Error | undefined);
static cannotStartScram(err: Error): TapError;
static notImplementedYet(msg: string): TapError;
static initializationVectorNotSupported(err: Error): TapError;
}
export declare namespace TapError {
enum Code {
CannotStartScram = "CannotStartScram",
NotImplemented = "NotImplemented",
InitializationVectorNotSupported = "InitializationVectorNotSupported"
}
}