Plexora

ResourceNotLocal

Something asked for a filesystem path to a resource that is not here.

Generated from Plexora 0.0.55View source
from plexora.api import ResourceNotLocal

Subclass of ResourceError.

Raised rather than returning None so the caller cannot pass the gap along and open it later: Path(None) and open("") both fail somewhere far from the mistake. Every raise names the operation that should have been used instead, because there always is one -- that is the point of the provider methods.