Interface ChatExceptionEventListener

interface ChatExceptionEventListener {
    onExcept(params: {
        except: ChatException;
        extra?: Record<string, string>;
        from?: string;
    }): void;
}

Methods

Methods

  • When an internal except occurs, this callback notification is triggered.

    Parameters

    • params: {
          except: ChatException;
          extra?: Record<string, string>;
          from?: string;
      }
      • except: ChatException
      • Optionalextra?: Record<string, string>
      • Optionalfrom?: string

    Returns void

    • Param [except] The except object.
    • Param [from] Where the except occurred.
    • Param [extra] The extra information.