import { ErrorHandler } from '../../../lib/dispatcher/error/handler/ErrorHandler' ; export class MockAlwaysTrueErrorHandler implements ErrorHandler < string , string > { public canHandle ( input , error ) { return true ; } public handle ( input , error ) { return `${ error . name } received at ${ this . constructor . name }` ; } }