You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
331 B
19 lines
331 B
5 months ago
|
"""
|
||
|
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
|
||
|
"""
|