Exception: JSONRPC::Error::ServerError
- Inherits:
-
StandardError
- Object
- StandardError
- JSONRPC::Error::ServerError
- Defined in:
- lib/jsonrpc/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.
16 17 18 |
# File 'lib/jsonrpc/error.rb', line 16 def initialize(code, ) super("Server error #{code}: #{}") end |