Exception: Jimson::Client::Error::ServerError
- Inherits:
-
StandardError
- Object
- StandardError
- Jimson::Client::Error::ServerError
- Defined in:
- lib/jimson/client/error.rb
Instance Method Summary collapse
-
#initialize(code, message) ⇒ ServerError
constructor
A new instance of ServerError.
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, ) super("Server error #{code}: #{}") end |