OceanDirectPython 3.1.3
OceanDirect Python API
Python.oceandirect.OceanDirectAPI.OceanDirectError Class Reference

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

Inheritance diagram for Python.oceandirect.OceanDirectAPI.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 16 of file OceanDirectAPI.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 21 of file OceanDirectAPI.py.

Member Function Documentation

◆ get_error_details()

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

Definition at line 26 of file OceanDirectAPI.py.

Member Data Documentation

◆ _error_code

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

Definition at line 23 of file OceanDirectAPI.py.

◆ _error_msg

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

Definition at line 24 of file OceanDirectAPI.py.