- exception RockyApiError#
Bases:
Exception
Provides the
Exception
class for an error generated in the API layer.
Overview#
Exception.with_traceback(tb) – |
Implement delattr(self, name). |
|
Default dir() implementation. |
|
Return self==value. |
|
Default object formatter. |
|
Return self>=value. |
|
Return getattr(self, name). |
|
Return self>value. |
|
Return hash(self). |
|
Return self<=value. |
|
Return self |
|
Return self!=value. |
|
Helper for pickle. |
|
Helper for pickle. |
|
Return repr(self). |
|
Implement setattr(self, name, value). |
|
Size of object in memory, in bytes. |
|
Return str(self). |
|
Abstract classes can override this to customize issubclass(). |
Import detail#
from ansys.rocky.core.exceptions import RockyApiError
Method detail#
- RockyApiError.__delattr__()#
Implement delattr(self, name).
- RockyApiError.__dir__()#
Default dir() implementation.
- RockyApiError.__eq__()#
Return self==value.
- RockyApiError.__format__()#
Default object formatter.
- RockyApiError.__ge__()#
Return self>=value.
- RockyApiError.__getattribute__()#
Return getattr(self, name).
- RockyApiError.__gt__()#
Return self>value.
- RockyApiError.__hash__()#
Return hash(self).
- RockyApiError.__le__()#
Return self<=value.
- RockyApiError.__lt__()#
Return self
- RockyApiError.__ne__()#
Return self!=value.
- RockyApiError.__reduce__()#
Helper for pickle.
- RockyApiError.__reduce_ex__()#
Helper for pickle.
- RockyApiError.__repr__()#
Return repr(self).
- RockyApiError.__setattr__()#
Implement setattr(self, name, value).
- RockyApiError.__setstate__()#
- RockyApiError.__sizeof__()#
Size of object in memory, in bytes.
- RockyApiError.__str__()#
Return str(self).
- RockyApiError.__subclasshook__()#
Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
- RockyApiError.with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.