Source code for reVX.utilities.exceptions

# -*- coding: utf-8 -*-
"""
Custom Exceptions and Errors for reV
"""


[docs]class reVXError(Exception): """ Generic Error for reV """
[docs]class ExclusionsCheckError(Exception): """ Error during Exclusion layer checking """
[docs]class GeoTiffKeyError(Exception): """ KeyError for GeoTiffHandler """
[docs]class RPMValueError(Exception): """ ValueError for RPM Pipeline """
[docs]class RPMTypeError(Exception): """ TypeError for RPM Pipeline """
[docs]class RPMRuntimeError(Exception): """ RuntimeError for RPM Pipeline """
[docs]class ReedsValueError(Exception): """ ValueError for ReEDS Pipeline """
[docs]class ReedsKeyError(Exception): """ TypeError for ReEDS Pipeline """
[docs]class ReedsRuntimeError(Exception): """ RuntimeError for ReEDS Pipeline """
[docs]class SupplyCurvePointCapacityError(Exception): """ Error for supply curve point with zero capacity """
[docs]class InvalidMCPStartValueError(Exception): """ Error when start index for LeastCostPath is on a pixel with an invalid value """
[docs]class LeastCostPathNotFoundError(Exception): """ Error when MCP Geometric cannot find a path """