@serenity-js/core
Version:
The core Serenity/JS framework, providing the Screenplay Pattern interfaces, as well as the test reporting and integration infrastructure
22 lines • 702 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ErrorStackParser = void 0;
const error_stack_parser_1 = __importDefault(require("error-stack-parser"));
/**
* A thin wrapper around error-stack-parser module
*
* ## Learn more
* - [Error stack parser](https://www.npmjs.com/package/error-stack-parser)
*
* @group Errors
*/
class ErrorStackParser {
parse(error) {
return error_stack_parser_1.default.parse(error);
}
}
exports.ErrorStackParser = ErrorStackParser;
//# sourceMappingURL=ErrorStackParser.js.map