# HErrorNode

## Fields

int | `m_category`
int | `m_specific`
int | `m_severity`
int | `m_messagelength`
double | `m_time`
char const ** | `m_message`
int | `m_stacklength`
char const ** | `m_stack`

## Functions

| `HErrorNode`
| `~HErrorNode`
void | `Report`

## Detailed Description

class HErrorNode

  The HErrorNode class encapsulates error message information.

  The HErrorNode class represents a specific error message and its properties.

  Public Functions

  HErrorNode(int category, int specific, int severity, int msgc, char const **msgv, int stackc, char const **stackv, double time)

    Constructs an HErrorNode object.

    Parameters

      - specific – An integer that identifies the specific error under the category already defined as described in #HC_Define_Error_Handler. For example, running out of memory, HES_OUT_OF_MEMORY, is a specific memory error in the HEC_MEMORY category.

      - msgc – The length of the msgv array.

      - msgv – An array of pointers to a list of messages.

      - stackc – The length of stackv.

      - stackv – An array of strings that indicates the list of methods that were called. The last being the currently active HOOPS routine and the first being the originating function.

      - time – The time associated with when the error was generated.

  ~HErrorNode()
  void Report()

    This method calls #HC_Report_Error which display the error messages associated with this error node.

  Public Members

  int m_category

    The category that this error falls under as described in #HC_Define_Error_Handler.

  int m_specific

    The specific error under the category as described in #HC_Define_Error_Handler.

  int m_severity

    The level of seriousness of this error.

  int m_messagelength

    The number of messages associated with this error.

  double m_time

    The time that the error was generated in seconds.

  char const **m_message

    The list messages associated with the error.

  int m_stacklength

    The length of the call stack.

  char const **m_stack

    The list of functions that generated the error.