@ewb/reach
Version:
Resource and Fetch stuff
13 lines (12 loc) • 361 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ReachError = void 0;
class ReachError extends Error {
constructor(response, body) {
super(response.statusText);
this.response = response;
this.body = body;
this.status = response.status;
}
}
exports.ReachError = ReachError;