fluent-results
Version:
Tiny, dependency-free TypeScript implementation of the Fluent Results pattern for railway-oriented programming.
18 lines (17 loc) • 443 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ExceptionalError = void 0;
const AError_1 = require("./AError");
class ExceptionalError extends AError_1.AError {
/**
*
*/
constructor(exception) {
super(JSON.stringify(exception));
this._exception = exception;
}
get exception() {
return this._exception;
}
}
exports.ExceptionalError = ExceptionalError;