serverless-spy
Version:
CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.
13 lines (12 loc) • 419 B
text/typescript
import { SpyEvent } from "./SpyEvent.mjs";
import { FunctionContext } from "./FunctionContext.mjs";
//#region common/spyEvents/FunctionErrorSpyEvent.d.ts
interface FunctionErrorSpyEvent<TRequest = any> extends SpyEvent {
spyEventType: 'FunctionError';
request: TRequest;
context: FunctionContext;
error: any;
}
//#endregion
export { FunctionErrorSpyEvent };
//# sourceMappingURL=FunctionErrorSpyEvent.d.mts.map