Exception: Rcon::Error::UnsupportedResponseTypeError
- Inherits:
-
StandardError
- Object
- StandardError
- Rcon::Error::UnsupportedResponseTypeError
- Defined in:
- lib/rcon/error/error.rb
Overview
used for communicating that the response type of the packet is unsupported
Instance Attribute Summary collapse
-
#response_type ⇒ Symbol
readonly
The current value of response_type.
Instance Method Summary collapse
Constructor Details
#initialize(response_type) ⇒ UnsupportedResponseTypeError
83 84 85 |
# File 'lib/rcon/error/error.rb', line 83 def initialize(response_type) @response_type = response_type end |
Instance Attribute Details
#response_type ⇒ Symbol (readonly)
Returns the current value of response_type.
80 81 82 |
# File 'lib/rcon/error/error.rb', line 80 def response_type @response_type end |
Instance Method Details
#message ⇒ String
90 91 92 |
# File 'lib/rcon/error/error.rb', line 90 def "unsupported response type: #{response_type}" end |