Exception: TurboBoost::Commands::AbortError
- Inherits:
-
CommandError
- Object
- StandardError
- CommandError
- TurboBoost::Commands::AbortError
- Defined in:
- lib/turbo_boost/commands/errors.rb
Instance Attribute Summary
Attributes inherited from CommandError
#cause, #command, #http_status_code
Instance Method Summary collapse
-
#initialize(*messages, **kwargs) ⇒ AbortError
constructor
A new instance of AbortError.
Methods inherited from CommandError
Constructor Details
#initialize(*messages, **kwargs) ⇒ AbortError
Returns a new instance of AbortError.
34 35 36 37 |
# File 'lib/turbo_boost/commands/errors.rb', line 34 def initialize(*, **kwargs) .prepend "TurboBoost Command intentionally aborted via `throw` in a `[before,after,around]_command` lifecycle callback!" super(, http_status: :abort_turbo_boost_command, **kwargs) end |