Public Member Functions | Static Private Attributes
opcua.ua.uaerrors._base.UaStatusCodeError Class Reference
Inheritance diagram for opcua.ua.uaerrors._base.UaStatusCodeError:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def __new__
def __str__
def code

Static Private Attributes

dictionary _subclasses = {}

Detailed Description

This exception is raised when a bad status code is encountered.

It exposes the status code number in the `code' property, so the
user can distinguish between the different status codes and maybe
handle some of them.

The list of status error codes can be found in opcua.ua.status_codes.
Dict containing all subclasses keyed to their status code. 

Definition at line 27 of file _base.py.


Constructor & Destructor Documentation

def opcua.ua.uaerrors._base.UaStatusCodeError.__init__ (   self,
  code = None 
)
:param code: The code of the exception. Only needed when not instanciating
     a concrete subclass such as BadInternalError.

Definition at line 61 of file _base.py.


Member Function Documentation

Creates a new UaStatusCodeError but returns a more specific subclass
if possible, e.g.

    UaStatusCodeError(0x80010000) => BadUnexpectedError()

Definition at line 41 of file _base.py.

Definition at line 71 of file _base.py.

The code of the status error.

Definition at line 78 of file _base.py.


Member Data Documentation

Definition at line 39 of file _base.py.


The documentation for this class was generated from the following file:


ros_opcua_impl_python_opcua
Author(s): Denis Štogl , Daniel Draper
autogenerated on Sat Jun 8 2019 18:26:25