@cto.ai/ops
Version:
💻 CTO.ai Ops - The CLI built for Teams 🚀
16 lines (15 loc) • 435 B
TypeScript
import { FeathersClient } from './Feathers';
interface HandleErrorInputs {
err: any;
accessToken?: string;
}
export declare class ErrorService {
protected api: FeathersClient;
log: {
(message?: any, ...optionalParams: any[]): void;
(message?: any, ...optionalParams: any[]): void;
};
constructor(api?: FeathersClient);
handleError: (inputs: HandleErrorInputs) => Promise<void>;
}
export {};