OceanDirectLighthouse 3.1.3
OceanDirect Lighthouse Python API
Python.oceandirect.LighthouseTypes.OceanDirectError Class Reference

An error code and error message object wrapper. More...

Inheritance diagram for Python.oceandirect.LighthouseTypes.OceanDirectError:

Public Member Functions

 __init__ (self, int errorCode, str errorMsg)
 
tuple[int, str] get_error_details (self)
 

Protected Attributes

 _error_code = errorCode
 
 _error_msg = errorMsg
 

Detailed Description

An error code and error message object wrapper.

Definition at line 4 of file LighthouseTypes.py.

Constructor & Destructor Documentation

◆ __init__()

Python.oceandirect.LighthouseTypes.OceanDirectError.__init__ ( self,
int errorCode,
str errorMsg )

Definition at line 8 of file LighthouseTypes.py.

Member Function Documentation

◆ get_error_details()

tuple[int, str] Python.oceandirect.LighthouseTypes.OceanDirectError.get_error_details ( self)

Definition at line 13 of file LighthouseTypes.py.

Member Data Documentation

◆ _error_code

Python.oceandirect.LighthouseTypes.OceanDirectError._error_code = errorCode
protected

Definition at line 10 of file LighthouseTypes.py.

◆ _error_msg

Python.oceandirect.LighthouseTypes.OceanDirectError._error_msg = errorMsg
protected

Definition at line 11 of file LighthouseTypes.py.