Exception: Jimson::Server::Error::InternalError

Inherits:
Jimson::Server::Error show all
Defined in:
lib/jimson/server/error.rb

Constant Summary

Constants inherited from Jimson::Server::Error

CODES

Instance Attribute Summary

Attributes inherited from Jimson::Server::Error

#code, #message

Instance Method Summary collapse

Methods inherited from Jimson::Server::Error

#to_h

Constructor Details

#initialize(e) ⇒ InternalError

Returns a new instance of InternalError.



44
45
46
# File 'lib/jimson/server/error.rb', line 44

def initialize(e)
  super(-32603, "Internal server error: #{e}")
end