AngularTS
    Preparing search index...

    Class WorkerError

    Typed failure reported by a managed worker.

    Hierarchy

    • Error
      • WorkerError
    Index

    Constructors

    • Parameters

      • code: WorkerErrorCode
      • message: string
      • options: { cause?: unknown; event?: ErrorEvent | MessageEvent<unknown> } = {}

      Returns WorkerError

    Properties

    cause?: unknown
    event: ErrorEvent | MessageEvent<unknown> | undefined
    message: string
    name: string
    stack?: string

    Methods

    • Indicates whether the argument provided is a built-in Error instance or not.

      Parameters

      • error: unknown

      Returns error is Error