Exceptions

exception pyfatfs._exceptions.PyFATException(msg: str, errno=None)

Bases: Exception

Generic PyFAT Exceptions.

Construct base class for PyFAT exceptions.

Parameters:
  • msg – Exception message describing what happened

  • errno – Error number, mostly based on POSIX errno where feasible

exception pyfatfs._exceptions.NotAnLFNEntryException(msg: str, errno=None)

Bases: PyFATException

Indicates that given dir entry cannot be interpreted as LFN entry.

Construct base class for PyFAT exceptions.

Parameters:
  • msg – Exception message describing what happened

  • errno – Error number, mostly based on POSIX errno where feasible