18 lines
416 B
Python
18 lines
416 B
Python
"""Exception types for Earthsnake
|
||
"""
|
||
|
||
|
||
class EarthsnakeError(Exception):
|
||
"""Basic Earthsnake error
|
||
|
||
Should not be used except as a base type.
|
||
"""
|
||
|
||
|
||
class ValidationError(EarthsnakeError):
|
||
"""Raised when something doesn’t pass as a valid Earthsnake object"""
|
||
|
||
|
||
class ReplicaIsClosedError(EarthsnakeError):
|
||
"""A ReplicaBase or ReplicaDriverBase object was used after close() was called on it"""
|