Utility TypeScript @ 2.0.0-beta
    Preparing search index...

    Class NodeConsole_ErrorPrivate Experimental Internal

    Only used by NodeConsole.

    Error

    2.0.0-alpha

    Hierarchy

    Index

    Constructors

    Properties

    stackTraceLimit: number
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

    Optional override for formatting stack traces

    cause: unknown

    Represents the name for the type of error.

    message: string
    name: string = 'NodeConsole_Error'

    Represents the name for the type of error.

    stack?: string

    Methods - Exporters

    Methods - Misc.

    • Experimental

      Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void