@bubblewrap/core
Version:
Core Library to generate, build and sign TWA projects
10 lines (9 loc) • 322 B
TypeScript
export type ErrorCode = 'PathIsNotCorrect' | 'PathIsNotSupported';
/**
* Extends Error type to have an error code in addition to the Error's message.
*/
export declare class ValidatePathError extends Error {
private errorCode;
constructor(message: string, errorCode: ErrorCode);
getErrorCode(): ErrorCode;
}