Exception: CommandTower::Errors::ClientUpdateRequiredError
- Inherits:
-
ApplicationError
- Object
- StandardError
- ApplicationError
- CommandTower::Errors::ClientUpdateRequiredError
- Defined in:
- app/errors/command_tower/errors/client_update_required_error.rb
Overview
Hard client-version incompatibility (authority §14). Deliberately NOT
registered in SessionErrorStatus — its HTTP status (426) is set
directly by Workflows::ClientCompatibility::EvaluateWorkflow, not
derived from that closed 401/403/412 mapping table.
Instance Attribute Summary
Attributes inherited from ApplicationError
Instance Method Summary collapse
- #code ⇒ Object
-
#initialize(details: {}) ⇒ ClientUpdateRequiredError
constructor
A new instance of ClientUpdateRequiredError.
- #log_level ⇒ Object
- #message ⇒ Object
Methods inherited from ApplicationError
Constructor Details
#initialize(details: {}) ⇒ ClientUpdateRequiredError
Returns a new instance of ClientUpdateRequiredError.
10 11 12 |
# File 'app/errors/command_tower/errors/client_update_required_error.rb', line 10 def initialize(details: {}) super(details:) end |
Instance Method Details
#code ⇒ Object
14 15 16 |
# File 'app/errors/command_tower/errors/client_update_required_error.rb', line 14 def code "client_update_required" end |
#log_level ⇒ Object
22 23 24 |
# File 'app/errors/command_tower/errors/client_update_required_error.rb', line 22 def log_level :warn end |
#message ⇒ Object
18 19 20 |
# File 'app/errors/command_tower/errors/client_update_required_error.rb', line 18 def "Client update required" end |