ltijs
Version:
Easily turn your web application into a LTI 1.3 Learning Tool.
20 lines • 836 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ProviderNotDeployedError = exports.MissingDatabaseConfigError = void 0;
const errors_1 = require("#shared/errors");
// Independent of `../mongo/errors.ts` by design -- `mongo/` and
// `mongo-legacy/` are fully isolated implementations, so no class is shared
// between them even though these error message strings are identical.
class MissingDatabaseConfigError extends errors_1.LtijsError {
constructor() {
super('MISSING_DATABASE_CONFIG');
}
}
exports.MissingDatabaseConfigError = MissingDatabaseConfigError;
class ProviderNotDeployedError extends errors_1.LtijsError {
constructor() {
super('PROVIDER_NOT_DEPLOYED');
}
}
exports.ProviderNotDeployedError = ProviderNotDeployedError;
//# sourceMappingURL=errors.js.map