UNPKG

ngx-dynamic-dashboard

Version:
16 lines (15 loc) 507 B
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; }