import { IErrorHandler } from "./interface"; export class ErrorHandler implements IErrorHandler { priority: number = 0; action(err: T): any { console.log("default action: ", err); } match(err: T): boolean { console.log("default match: ", err); return true; } }