@eggjs/supertest
Version:
SuperAgent driven library for testing HTTP servers
15 lines (14 loc) • 356 B
JavaScript
//#region src/error/AssertError.ts
var AssertError = class extends Error {
expected;
actual;
constructor(message, expected, actual, options) {
super(message, options);
this.name = this.constructor.name;
this.expected = expected;
this.actual = actual;
Error.captureStackTrace(this, this.constructor);
}
};
//#endregion
export { AssertError };