Exception: SystemCall::IspUnityException

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

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ IspUnityException

Returns a new instance of IspUnityException.



33
34
35
36
# File 'lib/system_call.rb', line 33

def initialize(message)
  message = message['error'] if message.class == Hash
  super "[IspUnity] #{message}"
end