Exception: Aidp::Errors::SecretsProxyError
- Inherits:
-
StandardError
- Object
- StandardError
- Aidp::Errors::SecretsProxyError
- Defined in:
- lib/aidp/errors.rb
Overview
Exception raised when secrets proxy cannot fulfill a request
Direct Known Subclasses
Instance Attribute Summary collapse
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
-
#secret_name ⇒ Object
readonly
Returns the value of attribute secret_name.
Instance Method Summary collapse
-
#initialize(secret_name:, reason:) ⇒ SecretsProxyError
constructor
A new instance of SecretsProxyError.
Constructor Details
#initialize(secret_name:, reason:) ⇒ SecretsProxyError
Returns a new instance of SecretsProxyError.
111 112 113 114 115 |
# File 'lib/aidp/errors.rb', line 111 def initialize(secret_name:, reason:) @secret_name = secret_name @reason = reason super("Secrets proxy error for '#{secret_name}': #{reason}") end |
Instance Attribute Details
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
109 110 111 |
# File 'lib/aidp/errors.rb', line 109 def reason @reason end |
#secret_name ⇒ Object (readonly)
Returns the value of attribute secret_name.
109 110 111 |
# File 'lib/aidp/errors.rb', line 109 def secret_name @secret_name end |