@bubblewrap/core
Version:
Core Library to generate, build and sign TWA projects
17 lines (16 loc) • 452 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ValidatePathError = void 0;
/**
* Extends Error type to have an error code in addition to the Error's message.
*/
class ValidatePathError extends Error {
constructor(message, errorCode) {
super(message);
this.errorCode = errorCode;
}
getErrorCode() {
return this.errorCode;
}
}
exports.ValidatePathError = ValidatePathError;