mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2025-11-08 17:51:22 +03:00
feat!(): add custom execution context
This commit is contained in:
5
lib/interfaces/telegraf-exception-filter.interface.ts
Normal file
5
lib/interfaces/telegraf-exception-filter.interface.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { ArgumentsHost } from '@nestjs/common';
|
||||
|
||||
export interface TelegrafExceptionFilter<T = any> {
|
||||
catch(exception: T, host: ArgumentsHost): any;
|
||||
}
|
||||
Reference in New Issue
Block a user