Exception: MTP::MTPError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/mtp.rb

Direct Known Subclasses

DeviceError, InvalidObject, UnsupportedProperty

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ MTPError

Returns a new instance of MTPError.



30
31
32
33
# File 'lib/mtp.rb', line 30

def initialize(message)
  super(message)
  MTP.logger.error(self)
end