aspen_pysys.error

Package containing all Pythonic functionality for HYSYS app errors.

1# Copyright 2026 Hariidaran Tamilmaran
2
3"""Package containing all Pythonic functionality for HYSYS app errors."""
4
5from aspen_pysys.error.err import PysysError
6
7__all__ = ["PysysError"]
class PysysError(builtins.Exception):
 5class PysysError(Exception):
 6    """Class that represents an exception from the aspen-pysys package."""
 7
 8    def __init__(self, message: str) -> None:
 9        self.message = message
10        super().__init__(self.message)

Class that represents an exception from the aspen-pysys package.

PysysError(message: str)
 8    def __init__(self, message: str) -> None:
 9        self.message = message
10        super().__init__(self.message)
message