ngx-dynamic-dashboard
Version:
an dashboard lib for angular 10
16 lines (15 loc) • 507 B
TypeScript
import { ErrorObject, SolutionObject } from './error-model';
/**
* Created by jayhamilton on 7/5/17.
*/
export declare class ErrorHandler {
static getErrorObject(errMsg: any): ErrorObject;
/**
* todo - fix this error handling logic. Move it to its own class.
* @param errMsg
* @returns {SolutionObject[]}
*/
static getSolutionList(errMsg: string): SolutionObject[];
static getErrorType(errMsg: string): string;
static getWebSocketErrorReason(error: any): string;
}