Exception: Merb::ControllerExceptions::InternalServerError
- Inherits:
-
ServerError
- Object
- StandardError
- Base
- ServerError
- Merb::ControllerExceptions::InternalServerError
- Defined in:
- lib/merb-core/controller/exceptions.rb
Overview
:doc:
Instance Method Summary collapse
- #backtrace ⇒ Object
-
#initialize(exception = nil) ⇒ InternalServerError
constructor
A new instance of InternalServerError.
- #message ⇒ Object
Methods inherited from Base
inherited, status, #status, status=, status?, #to_i
Constructor Details
#initialize(exception = nil) ⇒ InternalServerError
Returns a new instance of InternalServerError.
293 294 295 |
# File 'lib/merb-core/controller/exceptions.rb', line 293 def initialize(exception = nil) @exception = exception end |
Instance Method Details
#backtrace ⇒ Object
297 298 299 |
# File 'lib/merb-core/controller/exceptions.rb', line 297 def backtrace @exception ? @exception.backtrace : backtrace end |
#message ⇒ Object
301 302 303 |
# File 'lib/merb-core/controller/exceptions.rb', line 301 def @exception ? @exception. : end |