@nats-io/nats-core
    Preparing search index...

    Class NoRespondersError

    NoRespondersError is an error thrown when no responders (no service is subscribing to the subject) are found for a given subject. This error is typically found as the cause for a RequestError

    The subject for which no responders were found.

    Optional error options.

    Hierarchy

    • Error
      • NoRespondersError
    Index

    Constructors

    • Parameters

      • subject: string
      • Optionaloptions: ErrorOptions

      Returns NoRespondersError

    Properties

    cause?: unknown
    message: string
    name: string
    stack?: string
    subject: 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