import { ErrorHandler } from '../handler/ErrorHandler' ; /**
 * An interface providing a mapping of handler input and error to  ErrorHandler .
  export interface ErrorMapper < Input , Output > { getErrorHandler ( input , error ) : Promise < ErrorHandler < Input , Output > > | ErrorHandler < Input , Output > ; }