Exception: Jimson::ServerError::ApplicationError

Inherits:
Generic
  • Object
show all
Defined in:
lib/jimson/server_error.rb

Instance Attribute Summary

Attributes inherited from Generic

#code, #message

Instance Method Summary collapse

Methods inherited from Generic

#to_h

Constructor Details

#initialize(err) ⇒ ApplicationError

Returns a new instance of ApplicationError.



51
52
53
# File 'lib/jimson/server_error.rb', line 51

def initialize(err)
  super(-32099, "The application being served raised an error: #{err}")
end