@churchapps/apphelper
Version:
Library of helper functions for React and NextJS ChurchApps
13 lines • 583 B
TypeScript
import { ErrorLogInterface, ErrorAppDataInterface } from "@churchapps/helpers";
export declare class ErrorHelper {
static getAppData: () => {
churchId: string;
userId: string;
originUrl: string;
application: string;
};
static customErrorHandler: (errorLog: ErrorLogInterface) => void;
static init: (getAppData: () => ErrorAppDataInterface, customErrorHandler: (errorLog: ErrorLogInterface) => void) => void;
static logError: (errorType: string, message: string, details: string) => void;
}
//# sourceMappingURL=ErrorHelper.d.ts.map