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
75 76 77 |
# File 'lib/rcon/error/error.rb', line 75 def initialize(response_type) @response_type = response_type end |
Instance Attribute Details
#response_type ⇒ Symbol (readonly)
Returns the current value of response_type.
72 73 74 |
# File 'lib/rcon/error/error.rb', line 72 def response_type @response_type end |
Instance Method Details
#message ⇒ String
82 83 84 |
# File 'lib/rcon/error/error.rb', line 82 def "unsupported response type: #{response_type}" end |