Exception: RailsAiBridge::Registry::PolicyError

Inherits:
ContextProviderError show all
Defined in:
lib/rails_ai_bridge/registry/policy_error.rb

Overview

The endpoint did not satisfy the configured policy.

Instance Attribute Summary

Attributes inherited from ContextProviderError

#category, #provider_name

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ PolicyError

Parameters:

  • message (String)

    safe, credential-free message



9
10
11
# File 'lib/rails_ai_bridge/registry/policy_error.rb', line 9

def initialize(message)
  super(message, category: :policy)
end