Exception: HTTPController::UnknownAction
- Inherits:
-
Exception
- Object
- Exception
- HTTPController::UnknownAction
- Defined in:
- lib/appswarm/http/http_controller.rb
Instance Method Summary collapse
-
#initialize(e) ⇒ UnknownAction
constructor
A new instance of UnknownAction.
- #to_s ⇒ Object
Constructor Details
#initialize(e) ⇒ UnknownAction
Returns a new instance of UnknownAction.
37 38 39 40 |
# File 'lib/appswarm/http/http_controller.rb', line 37 def initialize(e) @e=e end |
Instance Method Details
#to_s ⇒ Object
41 42 43 44 45 46 47 |
# File 'lib/appswarm/http/http_controller.rb', line 41 def to_s if @e.is_a?(Exception) "Unknown Exception #{@e.inspect}\n"+@e.backtrace.join("\n") else "Unknown Exception #{@e.inspect}" end end |