UNPKG

ltijs

Version:

Easily turn your web application into a LTI 1.3 Learning Tool.

19 lines • 511 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HttpError = void 0; class HttpError extends Error { status; statusText; url; response; constructor(details) { super(details.message); this.name = 'HttpError'; this.status = details.status; this.statusText = details.statusText; this.url = details.url; this.response = details.response; } } exports.HttpError = HttpError; //# sourceMappingURL=errors.js.map