Exception: TurboBoost::Commands::PerformError

Inherits:
CommandError
  • Object
show all
Defined in:
lib/turbo_boost/commands/errors.rb

Instance Attribute Summary

Attributes inherited from CommandError

#cause, #command, #http_status_code

Instance Method Summary collapse

Methods inherited from CommandError

#location

Constructor Details

#initialize(*messages, **kwargs) ⇒ PerformError

Returns a new instance of PerformError.



41
42
43
44
# File 'lib/turbo_boost/commands/errors.rb', line 41

def initialize(*messages, **kwargs)
  messages.prepend "Unexpected error encountered while performing a TurboBoost Command!"
  super(messages, http_status: :internal_server_error, **kwargs)
end