UNPKG

@ewb/reach

Version:
13 lines (12 loc) 361 B
"use strict"; 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;