Exceptions

synopsis:Custom exceptions used across the ptp library.
class ptp.libptp.exceptions.PTPError[source]

General ptp error.

class ptp.libptp.exceptions.ReportNotFoundError[source]

ptp error when the report file(s) was not found.

class ptp.libptp.exceptions.NotSupportedToolError[source]

ptp error when the tool is not supported.

class ptp.libptp.exceptions.NotSupportedVersionError[source]

ptp error when the version of the tool is not supported.