class

Anthropic::URLAuthorityMismatchError

Inherits Anthropic::Error < Exception < Reference < Object

Raised when a results_url authority (scheme + host + port) does not match the configured client base_url authority. This is a security concern to prevent unauthorized data access.

Constructors

new(expected_authority : String, actual_authority : String)
Source

Instance methods

actual_authority
Source
expected_authority
Source