UNPKG

unifi-client

Version:

NodeJs client for Unifi products (https://www.ui.com/)

16 lines (15 loc) 447 B
import { __Error } from './__Error'; import { AxiosError } from './AxiosError'; export interface IUnifiErrorMeta { msg?: string; validationError?: { field: string; pattern: string; }; } export declare class UnifiError extends __Error { meta: IUnifiErrorMeta; axiosError?: AxiosError; constructor(message?: string | Error, code?: number, pMeta?: IUnifiErrorMeta, exception?: AxiosError); name: string; }