class Sr::Jimson::Server::Error::ApplicationError

Public Class Methods

new(err, show_error = false) click to toggle source
Calls superclass method Sr::Jimson::Server::Error::new
# File lib/sr/jimson/server/error.rb, line 50
def initialize(err, show_error = false)
  msg = "Server application error"
  msg += ': ' + err.message + ' at ' + err.backtrace.first if show_error
  super(-32099, msg)
end