UNPKG

zabbix-utils

Version:

TypeScript port of zabbix-utils - Python library for working with Zabbix API, Sender, and Getter protocols

26 lines 879 B
export declare class ModuleBaseException extends Error { constructor(message?: string); } export declare class APIRequestError extends ModuleBaseException { /** * Exception class when Zabbix API returns error by request. * * @param apiError - Raw error message from Zabbix API. */ data?: string; body?: any; constructor(apiError: string | Record<string, any>); } export declare class APINotSupported extends ModuleBaseException { /** * Exception class when object/action is not supported by Zabbix API. * * @param message - Not supported object/action message. * @param version - Current version of Zabbix API. */ constructor(message: string, version?: string); } export declare class ProcessingError extends ModuleBaseException { constructor(...args: any[]); } //# sourceMappingURL=exceptions.d.ts.map