Class ErrorSerializer

Hierarchy

Constructors

Accessors

Methods

Constructors

Accessors

  • get classToSerialize(): ErrorConstructor
  • Getter to overload which return the Class to serialize

    Abstract

    Returns

    Class object to serialize

    Returns ErrorConstructor

Methods

  • Method to implement for serialize an object (which match the classToSerialize) (reverse operation of deserialize)

    Abstract

    Returns

    Return a standard serialized object

    Parameters

    • e: Error & {
          fileName?: string;
          lineNumber?: string;
      }

      Object to serialize

    Returns SerializedData

  • Method to implement for deserialize an object (reverse operation of serialize)

    Abstract

    Returns

    The deserialized object

    Parameters

    • e: SerializedData

      The object to deserialize

    Returns Error & {
        newStack?: string;
        orignalStack?: string;
    }

Generated using TypeDoc