Exception: Muxr::Dispatcher::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Muxr::Dispatcher::Error
- Defined in:
- lib/muxr/control_server.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(message, code: ControlServer::INVALID_PARAMS) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, code: ControlServer::INVALID_PARAMS) ⇒ Error
Returns a new instance of Error.
317 318 319 320 |
# File 'lib/muxr/control_server.rb', line 317 def initialize(, code: ControlServer::INVALID_PARAMS) super() @code = code end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
316 317 318 |
# File 'lib/muxr/control_server.rb', line 316 def code @code end |