Documentation
    Preparing search index...

    Class InvalidOperationError

    The error that is thrown when a method call is invalid for the object's current state.

    Hierarchy

    • Error
      • InvalidOperationError
    Index

    Constructors

    Properties

    cause?: unknown
    message: string
    name: string = "InvalidOperationError"
    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