1 | import { FeathersClient } from './Feathers';
|
2 | interface HandleErrorInputs {
|
3 | err: any;
|
4 | accessToken?: string;
|
5 | }
|
6 | export declare class ErrorService {
|
7 | protected api: FeathersClient;
|
8 | log: {
|
9 | (message?: any, ...optionalParams: any[]): void;
|
10 | (message?: any, ...optionalParams: any[]): void;
|
11 | };
|
12 | constructor(api?: FeathersClient);
|
13 | handleError: (inputs: HandleErrorInputs) => Promise<void>;
|
14 | }
|
15 | export {};
|