Exception: AgentHarness::AuthMismatchError

Inherits:
AuthenticationError show all
Defined in:
lib/agent_harness/errors.rb

Overview

Auth mismatch errors — raised when the requested transport mode requires credentials that differ from the caller’s current auth mode. For example, requesting HTTP text mode with only OAuth/subscription credentials (no API key) would silently shift billing from subscription to API-metered usage.

Instance Attribute Summary

Attributes inherited from AuthenticationError

#provider

Attributes inherited from Error

#context, #original_error

Method Summary

Methods inherited from AuthenticationError

#initialize

Methods inherited from Error

#initialize

Constructor Details

This class inherits a constructor from AgentHarness::AuthenticationError