/** * The code of the errors raised by the SDK. * @public * @enum {number} * @readonly */ declare const code: { /** OK code result */ OK: number; /** ERROR code result */ ERROR: number; /** ERRORUNAUTHORIZED code result */ ERRORUNAUTHORIZED: number; /** ERRORXMPP code result */ ERRORXMPP: number; /** ERRORXMPPJID code result */ ERRORXMPPJID: number; /** ERRORBADREQUEST code result */ ERRORBADREQUEST: number; /** ERRORUNSUPPORTED code result */ ERRORUNSUPPORTED: number; /** ERRORNOTFOUND code result */ ERRORNOTFOUND: number; /** ERRORFORBIDDEN code result */ ERRORFORBIDDEN: number; /** OTHERERROR code result */ OTHERERROR: number; }; /** * @class * @name ErrorManager * @public * @description * The errors raised by the SDK. */ declare class ErrorManager { private static xmppUtils; constructor(); static getErrorManager(): ErrorManager; /** * @readonly * @memberof ErrorManager * @return {Err} */ get BAD_REQUEST(): any; /** * @readonly * @memberof ErrorManager * @return {Err} */ get FORBIDDEN(): { code: number; label: string; msg: string; }; /** * @readonly * @memberof ErrorManager * @return {Err} */ get OK(): { code: number; label: string; msg: string; }; /** * @readonly * @memberof ErrorManager * @return {Err} */ get XMPP(): { code: number; label: string; msg: string; }; /** * @readonly * @memberof ErrorManager * @return {Err} */ get ERROR(): { code: number; label: string; msg: string; details: string; }; /** * @readonly * @memberof ErrorManager * @return {Err} */ get UNAUTHORIZED(): { code: number; label: string; msg: string; details: string; }; OTHERERROR(_label: any, _msg: any): { code: number; label: any; msg: any; }; CUSTOMERROR(codeERROR: any, label: any, msg: any, error: any): { code: any; label: any; msg: any; error: any; }; } export { ErrorManager, code };