HED JavaScript Library
    Preparing search index...

    Class IssueError

    Hierarchy

    • Error
      • IssueError
    Index

    Constructors

    Properties

    issue: Issue

    The associated HED issue.

    message: string
    name: string
    stack?: string
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    • Generate a new Issue object and immediately throw it as an IssueError.

      Parameters

      • internalCode: string

        The internal error code.

      • parameters: {} = {}

        The error string parameters.

      Returns void

      Corresponding to the generated Issue.

    • Generate a new Issue object for an internal error and immediately throw it as an IssueError.

      Parameters

      • message: string = 'Unknown internal error'

        A message describing the internal error.

      Returns void

      Corresponding to the generated internal error Issue.