UNPKG

node-easysms

Version:

EasySMS is an SMS sender for Node.js

29 lines (28 loc) 708 B
export declare class NoGatewayAvailableException implements Exception { name: string; message: string; stack?: string; protected results: MessengerResult[]; protected exceptions: MessengerException; constructor(results: MessengerResult[]); /** * 获取发送结果 * @returns */ getResults(): MessengerResult[]; /** * 获取某个网关的异常信息 * @returns */ getException(gateway: string): Exception; /** * 获取所有网关的异常信息 * @returns */ getExceptions(): MessengerException; /** * 获取最后一个网关的异常信息 * @returns */ getLastException(): Exception; }