exceptions.py 331 B

123456789101112131415161718
  1. """
  2. fsspec user-defined exception classes
  3. """
  4. import asyncio
  5. class BlocksizeMismatchError(ValueError):
  6. """
  7. Raised when a cached file is opened with a different blocksize than it was
  8. written with
  9. """
  10. class FSTimeoutError(asyncio.TimeoutError):
  11. """
  12. Raised when a fsspec function timed out occurs
  13. """