AniLink - v2.0.0
    Preparing search index...

    Function resolveOperationLabel

    • Resolves the label identifying which operation required authentication.

      Operations know their own identity, so the concrete subclass name is used unless a caller passes something more specific. Returns undefined when no usable name exists so the auth error keeps its generic message instead of appending an empty detail.

      Parameters

      • operation: object

        Operation instance whose constructor name is inspected.

      Returns string | undefined

      A non-empty operation label, or undefined when none is available.