ltijs
Version:
Easily turn your web application into a LTI 1.3 Learning Tool.
19 lines • 772 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.MissingOrInvalidResourceLinkIdError = exports.LtijsError = void 0;
class LtijsError extends Error {
constructor(message) {
super(message);
this.name = new.target.name;
}
}
exports.LtijsError = LtijsError;
// Shared by grading (AGS) and names-and-roles (NRPS) -- both resolve resourceLinkId from the same
// launch-layer idToken claim, so it belongs here rather than in either service's own errors.ts.
class MissingOrInvalidResourceLinkIdError extends LtijsError {
constructor() {
super('MISSING_OR_INVALID_RESOURCE_LINK_ID');
}
}
exports.MissingOrInvalidResourceLinkIdError = MissingOrInvalidResourceLinkIdError;
//# sourceMappingURL=errors.js.map