Source code for grid2op.Exceptions.ChronicsExceptions
from grid2op.Exceptions.Grid2OpException import Grid2OpException
# Chronics
[docs]class ChronicsError(Grid2OpException):
"""
Base class of all error regarding the chronics and the gridValue (see :class:`grid2op.ChronicsHandler.GridValue` for
more information)
"""
pass
[docs]class ChronicsNotFoundError(ChronicsError):
"""
This exception is raised where there are no chronics folder found at the indicated location.
"""
pass
[docs]class InsufficientData(ChronicsError):
"""
This exception is raised where there are not enough data compare to the size of the episode asked.
"""
pass