Exception: TeamSpeak3::Exceptions::VirtualServerNotRunning
- Inherits:
-
StandardException
- Object
- Exception
- StandardException
- TeamSpeak3::Exceptions::VirtualServerNotRunning
- Defined in:
- lib/exceptions/virtual_server_not_running.rb
Instance Attribute Summary collapse
-
#server_id ⇒ Object
readonly
Returns the value of attribute server_id.
Attributes inherited from StandardException
Instance Method Summary collapse
-
#initialize(server_id) ⇒ VirtualServerNotRunning
constructor
A new instance of VirtualServerNotRunning.
Methods inherited from StandardException
Constructor Details
#initialize(server_id) ⇒ VirtualServerNotRunning
Returns a new instance of VirtualServerNotRunning.
6 7 8 9 |
# File 'lib/exceptions/virtual_server_not_running.rb', line 6 def initialize(server_id) @server_id = server_id @message = 'The virtual server is not running' end |
Instance Attribute Details
#server_id ⇒ Object (readonly)
Returns the value of attribute server_id.
4 5 6 |
# File 'lib/exceptions/virtual_server_not_running.rb', line 4 def server_id @server_id end |