Type alias IError

IError: {
    code?: string | number;
    message: string;
    [key: string]: any;
}

Type declaration

  • [key: string]: any
  • Optional code?: string | number
  • message: string