@serenity-js/core
Version:
The core Serenity/JS framework, providing the Screenplay Pattern interfaces, as well as the test reporting and integration infrastructure
15 lines • 355 B
JavaScript
import parser from '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
*/
export class ErrorStackParser {
parse(error) {
return parser.parse(error);
}
}
//# sourceMappingURL=ErrorStackParser.js.map