Exception: Jimson::Server::Error::ApplicationError
- Inherits:
-
Jimson::Server::Error
- Object
- StandardError
- Jimson::Server::Error
- Jimson::Server::Error::ApplicationError
- Defined in:
- lib/jimson/server/error.rb
Constant Summary
Constants inherited from Jimson::Server::Error
Instance Attribute Summary
Attributes inherited from Jimson::Server::Error
Instance Method Summary collapse
-
#initialize(err, show_error = false) ⇒ ApplicationError
constructor
A new instance of ApplicationError.
Methods inherited from Jimson::Server::Error
Constructor Details
#initialize(err, show_error = false) ⇒ ApplicationError
Returns a new instance of ApplicationError.
50 51 52 53 54 |
# File 'lib/jimson/server/error.rb', line 50 def initialize(err, show_error = false) msg = "Server application error" msg += ': ' + err. + ' at ' + err.backtrace.first if show_error super(-32099, msg) end |