UNPKG

@studyportals/sp-r2d2

Version:

A framework that contains various components used when developing projects that will be deployed via AWS λ.

13 lines (12 loc) 754 B
import { IResult } from '@studyportals/sp-r2d2-interface'; import { AuthorizationError, ValidationError, ExecutionError } from '../../../application'; import { IResponseSender } from '../response-sending-interfaces/i-response-sender.interface'; export declare class BaseResponseSender implements IResponseSender { sendPong(ping: any): Promise<unknown>; sendUncaughtError(error: Error): Promise<unknown>; sendRequestAuthorizationError(error: AuthorizationError): Promise<unknown>; sendEventIgnored(event: any): Promise<unknown>; sendRequestValidationError(error: ValidationError): Promise<unknown>; sendRequestExecutionError(error: ExecutionError): Promise<unknown>; sendExecutionOutcome(outcome: IResult): Promise<unknown>; }