Exceptions¶
Exceptions module.
Custom exceptions.
- exception codestream.common.exceptions.ApiExceptionGitLab(status_code)¶
Bases:
ExceptionApiException.
A generic exception for handling GitLab status codes.
- __cause__¶
exception cause
- __context__¶
exception context
- __delattr__(name, /)¶
Implement delattr(self, name).
- __dict__ = mappingproxy({'__module__': 'codestream.common.exceptions', '__doc__': '\n ApiException.\n\n A generic exception for handling GitLab status codes.\n ', '__init__': <function ApiExceptionGitLab.__init__>, '__weakref__': <attribute '__weakref__' of 'ApiExceptionGitLab' objects>, '__annotations__': {}})¶
- __getattribute__(name, /)¶
Return getattr(self, name).
- __init__(status_code)¶
Message method.
Method to allow custom message printing.
- __module__ = 'codestream.common.exceptions'¶
- __new__(**kwargs)¶
- __reduce__()¶
Helper for pickle.
- __repr__()¶
Return repr(self).
- __setattr__(name, value, /)¶
Implement setattr(self, name, value).
- __setstate__()¶
- __str__()¶
Return str(self).
- __suppress_context__¶
- __traceback__¶
- __weakref__¶
list of weak references to the object (if defined)
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception codestream.common.exceptions.ApiExceptionVRA(status_code)¶
Bases:
ExceptionApiException.
A generic exception for handling vRA status codes.
- __cause__¶
exception cause
- __context__¶
exception context
- __delattr__(name, /)¶
Implement delattr(self, name).
- __dict__ = mappingproxy({'__module__': 'codestream.common.exceptions', '__doc__': '\n ApiException.\n\n A generic exception for handling vRA status codes.\n ', '__init__': <function ApiExceptionVRA.__init__>, '__weakref__': <attribute '__weakref__' of 'ApiExceptionVRA' objects>, '__annotations__': {}})¶
- __getattribute__(name, /)¶
Return getattr(self, name).
- __init__(status_code)¶
Message method.
Method to allow custom message printing.
- __module__ = 'codestream.common.exceptions'¶
- __new__(**kwargs)¶
- __reduce__()¶
Helper for pickle.
- __repr__()¶
Return repr(self).
- __setattr__(name, value, /)¶
Implement setattr(self, name, value).
- __setstate__()¶
- __str__()¶
Return str(self).
- __suppress_context__¶
- __traceback__¶
- __weakref__¶
list of weak references to the object (if defined)
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception codestream.common.exceptions.PortOutOfRange(port)¶
Bases:
ExceptionPortOutOfRange exception.
Custom exception for when a provided port is out of the allowed range.
- __cause__¶
exception cause
- __context__¶
exception context
- __delattr__(name, /)¶
Implement delattr(self, name).
- __dict__ = mappingproxy({'__module__': 'codestream.common.exceptions', '__doc__': '\n PortOutOfRange exception.\n\n Custom exception for when a provided port is out of the allowed range.\n ', '__init__': <function PortOutOfRange.__init__>, '__weakref__': <attribute '__weakref__' of 'PortOutOfRange' objects>, '__annotations__': {}})¶
- __getattribute__(name, /)¶
Return getattr(self, name).
- __init__(port)¶
Message method.
Method to allow custom message printing.
- __module__ = 'codestream.common.exceptions'¶
- __new__(**kwargs)¶
- __reduce__()¶
Helper for pickle.
- __repr__()¶
Return repr(self).
- __setattr__(name, value, /)¶
Implement setattr(self, name, value).
- __setstate__()¶
- __str__()¶
Return str(self).
- __suppress_context__¶
- __traceback__¶
- __weakref__¶
list of weak references to the object (if defined)
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.