Exception: Aidp::Errors::TokenExpiredError
- Inherits:
-
SecretsProxyError
- Object
- StandardError
- SecretsProxyError
- Aidp::Errors::TokenExpiredError
- Defined in:
- lib/aidp/errors.rb
Overview
Exception raised when a token has expired
Instance Attribute Summary
Attributes inherited from SecretsProxyError
Instance Method Summary collapse
-
#initialize(secret_name:, expired_at:) ⇒ TokenExpiredError
constructor
A new instance of TokenExpiredError.
Constructor Details
#initialize(secret_name:, expired_at:) ⇒ TokenExpiredError
Returns a new instance of TokenExpiredError.
130 131 132 133 134 135 |
# File 'lib/aidp/errors.rb', line 130 def initialize(secret_name:, expired_at:) super( secret_name: secret_name, reason: "Token expired at #{expired_at}. Request a new token via the secrets proxy." ) end |