Exception: LegoEv3::InvalidRemoteServiceException

Inherits:
Exception
  • Object
show all
Defined in:
lib/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(service) ⇒ InvalidRemoteServiceException

Returns a new instance of InvalidRemoteServiceException.



38
39
40
41
42
43
# File 'lib/exceptions.rb', line 38

def initialize(service)
  super(
    "The 'remote.service' configuration is not valid. " +
    "Supported services are: 'tcp', 'ssh'."
  )
end