Exception: HTTPController::UnknownAction

Inherits:
Exception
  • Object
show all
Defined in:
lib/appswarm/http/http_controller.rb

Instance Method Summary collapse

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_sObject



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