export interface IError { type: string; msg: string; code: number; }