Traktor/myenv/Lib/site-packages/fsspec/exceptions.py

19 lines
331 B
Python
Raw Permalink Normal View History

2024-05-23 01:57:24 +02:00
"""
fsspec user-defined exception classes
"""
import asyncio
class BlocksizeMismatchError(ValueError):
"""
Raised when a cached file is opened with a different blocksize than it was
written with
"""
class FSTimeoutError(asyncio.TimeoutError):
"""
Raised when a fsspec function timed out occurs
"""