class BaseRpcExceptionFilter<T = any, R = any> implements RpcExceptionFilter {
catch(exception: T, host: ArgumentsHost): Observable<R>
handleUnknownError(exception: T, status: string)
isError(exception: any): exception is Error
}
Methods
catch()
|
catch(exception: T, host: ArgumentsHost): Observable<R>
Parameters
Returns
Observable<R>
|
handleUnknownError()
|
handleUnknownError(exception: T, status: string)
Parameters
Option |
Type |
Description |
exception
|
T |
|
status
|
string |
|
|
isError()
|
isError(exception: any): exception is Error
Parameters
Option |
Type |
Description |
exception
|
any |
|
Returns
exception is Error
|