mirror of
https://github.com/caprover/caprover
synced 2026-08-12 10:40:59 +00:00
11 lines
315 B
JavaScript
11 lines
315 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
class CaptainError extends Error {
|
|
constructor(code, msg) {
|
|
super(msg);
|
|
this.captainErrorType = code;
|
|
this.apiMessage = msg;
|
|
}
|
|
}
|
|
exports.CaptainError = CaptainError;
|
|
//# sourceMappingURL=CaptainError.js.map
|