Exception: Jimson::Client::Error::ServerError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/jimson/client/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(code, message) ⇒ ServerError

Returns a new instance of ServerError.



17
18
19
# File 'lib/jimson/client/error.rb', line 17

def initialize(code, message)
  super("Server error #{code}: #{message}")
end