Source code for reVX.utilities.exceptions
# -*- coding: utf-8 -*-
"""
Custom Exceptions and Errors for reV
"""
[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
"""