pyuaf.util.errors

This module defines the exceptions (errors) that may be raised by the UAF.

PyuAF defines an error for each situation that may go wrong. The errors are subclasses of the python Exception class, so they can be raised, and they contain a message attribute. In other words, they are normal python exceptions.

Many many errors are defined, so based on their type, you (the user) have a good idea of what’s going wrong. In some cases the errors have additional attributes for more diagnostics. Since they are normal python exceptions, all pyuaf errors also have a message attribute that conveys the error information in a human readable way.

The UAF defines one “root” error, i.e. a superclass of all other errors: ~pyuaf.util.errors.UafError. Further below this documentation, you’ll see the whole subclassing hierarchy of all errors. When an error has attributes, these attributes (name and type) are displayed too.

Usage example:

>>> import pyuaf
>>> from pyuaf.util import NodeId, Address
>>> from pyuaf.client import Client
>>> from pyuaf.client.settings import ClientSettings
>>> from pyuaf.util.errors import UnknownServerError, UafError
>>>
>>> # dummy logger function:
>>> def log(msg): pass
>>>
>>> c = Client(ClientSettings('my client', ['opc.tcp://localhost:4841']))
>>>
>>> # let's try to read a node on the server with server URI 'urn:my:server:uri'
>>> try:
...    c.read( Address(NodeId('identifier', 'http://my/ns/uri'), 'urn:my:server:uri') )
... except UnknownServerError, e:
...    log("The server %s is unknown to the client!" %e.unknownServerUri)
...    log("These are the servers that *are* known to the client:")
...    for knownServerUri in e.knownServerUris:
...        log(" - %s" %knownServerUri)
... except UafError, e:
...    log("Oops, an OPC UA error occurred that we didn't anticipate:")
...    log(str(e))
... except Exception, e:
...    log("Oops, another non-OPC UA error occurred that we didn't anticipate:")
...    log(str(e))

Inheritance tree of all UAF errors

UafError..............................................................
   InvalidRequestError................................................InvalidRequestError
      DataDontMatchAddressesError.....................................The data don't match the addresses
      ContinuationPointsDontMatchAddressesError.......................The continuation points don't match the addresses
      NoTargetsGivenError.............................................No targets are given
      NoStatusesGivenError............................................No statuses are given
      InvalidServerUriError...........................................The server URI is invalid
          +invalidServerUri                                           Attribute of type: str
      BadStatusesPresentError.........................................Bad statuses are present
          +noOfBad                                                    Attribute of type: int
          +noOfGood                                                   Attribute of type: int
          +noOfUncertain                                              Attribute of type: int
      ItemNotFoundForTheGivenHandleError..............................No item was found for the given handle
      TargetRankOutOfBoundsError......................................The target rank is out of bounds
          +noOfTargets                                                Attribute of type: int
          +targetRank                                                 Attribute of type: int
      NoItemFoundForTheGivenRequestHandleError........................No item was found for the given request handle
          +requestHandle                                              Attribute of type: long
      EmptyAddressError...............................................The address is empty (no valid NodeId or BrowsePath)
      UnknownClientSubscriptionHandleError............................Unknown client subscription handle
          +unknownClientSubscriptionHandle                            Attribute of type: int
      UnknownClientHandleError........................................Unknown client handle
          +unknownClientHandle                                        Attribute of type: int
      UnknownClientConnectionIdError..................................Unknown client connection id
          +unknownClientConnectionId                                  Attribute of type: int
      DefinitionNotFoundError.........................................No valid definition was found
      ConnectionError.................................................Connection error
         ConnectionFailedError........................................Connection failed
             +endpointUrl                                             Attribute of type: str
             +sdkStatus                                               Attribute of type: SdkStatus
         AsyncConnectionFailedError...................................Connection failed
             +sdkStatus                                               Attribute of type: SdkStatus
             +serverUri                                               Attribute of type: str
         DisconnectionFailedError.....................................Disconnection failed
             +endpointUrl                                             Attribute of type: str
             +sdkStatus                                               Attribute of type: SdkStatus
         NoConnectedSessionToUpdateArraysError........................There's no connected session to update the arrays
         SessionNotConnectedError.....................................The session is not connected
      DiscoveryError..................................................Discovery error
         NoEndpointsProvidedByServerError.............................The server did not provide any endpoints
         NoDiscoveryUrlsExposedByServerError..........................No discovery Urls are exposed by the server
         NoDiscoveryUrlsFoundError....................................No discovery Urls were found
         GetEndpointsError............................................The GetEndpoints service failed
             +sdkStatus                                               Attribute of type: SdkStatus
         UnknownServerError...........................................The requested server has not been discovered
             +knownServerUris                                         Attribute of type: StringVector
             +unknownServerUri                                        Attribute of type: str
         FindServersError.............................................The FindServers service failed
             +sdkStatuses                                             Attribute of type: SwigPyObject
         NoParallelFindServersAllowedError............................The FindServers service is already being invoked (no parallel invocations allowed)
      SecurityError...................................................Security error
         SecuritySettingsMatchError...................................No session security settings matched an endpoint
         NoSecuritySettingsGivenError.................................No session security settings were given
         ServerDidNotProvideCertificateError..........................The server did not provide a certificate
         ClientCertificateLoadingError................................Could not load the client certificate
             +sdkStatus                                               Attribute of type: SdkStatus
         OpenSSLStoreInitializationError..............................Could not initialize the OpenSSL PKI Provider
             +sdkStatus                                               Attribute of type: SdkStatus
         ServerCertificateSavingError.................................Could not save the server certificate
             +sdkStatus                                               Attribute of type: SdkStatus
         ServerCertificateRejectedByUserError.........................The server certificate was rejected by the user
         EmptyUserCertificateError....................................The user certificate is empty
             +certificate                                             Attribute of type: str
         InvalidPrivateKeyError.......................................The private key is invalid
             +privateKey                                              Attribute of type: str
         SessionSecuritySettingsDontMatchEndpointError................The session security settings dont match the endpoint
   ConfigurationError.................................................configuration error
      CouldNotCreateCertificateTrustListLocationError.................The certificate trust list location could not be created
          +certificateTrustListLocation                               Attribute of type: str
      CouldNotCreateCertificateRevocationListLocationError............The certificate trust list location could not be created
          +certificateRevocationListLocation                          Attribute of type: str
      CouldNotCreateIssuersCertificateLocationError...................The issuers certificate location could not be created
          +issuersCertificatesLocation                                Attribute of type: str
      CouldNotCreateIssuersRevocationListLocationError................The issuers revocation list location could not be created
          +issuersRevocationListLocation                              Attribute of type: str
      CouldNotCreateClientPrivateKeyLocationError.....................The client private key location could not be created
          +clientPrivateKey                                           Attribute of type: str
      CouldNotCreateClientCertificateLocationError....................The client certificate location could not be created
          +clientCertificate                                          Attribute of type: str
   GeneralError.......................................................General error
      WrongTypeError..................................................Wrong type
      UnexpectedError.................................................Unexpected error
      EmptyUrlError...................................................An empty URL was given
      PathNotExistsError..............................................Patn does not exist
      PathCreationError...............................................Patn could not be created
   ResolutionError....................................................Resolution error
      NotAllTargetsCouldBeResolvedError...............................Could not convert all targets
          +unresolvedTargetNumbers                                    Attribute of type: UInt32Vector
      ServerArrayConversionError......................................Could not convert the value received from the server to a server array
      NamespaceArrayConversionError...................................Could not convert the value received from the server to a namespace array
      BadNamespaceArrayError..........................................The namespace array received by the server has a Bad value
      BadServerArrayError.............................................The server array received by the server has a Bad value
      UnknownNamespaceUriError........................................The namespace uri is not known
          +nameSpaceMap                                               Attribute of type: SwigPyObject
          +nameSpaceMapString                                         Attribute of type: str
          +unknownNamespaceUri                                        Attribute of type: str
      EmptyServerUriError.............................................The server uri is empty
      ExpandedNodeIdAddressExpectedError..............................The given address should contain an ExpandedNodeId
      EmptyServerUriAndUnknownNamespaceIndexError.....................The server uri is empty and namespace index is unknown
          +unknownNamespaceIndex                                      Attribute of type: long
      NoNamespaceIndexOrUriGivenError.................................No namespace index or URI were given
      UnknownServerIndexError.........................................The server index is not known
          +unknownServerIndex                                         Attribute of type: int
      UnknownNamespaceIndexError......................................The namespace index is not known
          +unknownNamespaceIndex                                      Attribute of type: long
      UnknownNamespaceIndexAndServerIndexError........................The namespace index is not known
          +unknownNamespaceIndex                                      Attribute of type: long
          +unknownServerIndex                                         Attribute of type: int
      InvalidAddressError.............................................Invalid address
      MultipleTranslationResultsError.................................Multiple nodes were found when translating the given browsepath
   ServiceError.......................................................Service error
      CouldNotReadArraysError.........................................Could not read the namespace and server arrays
          +sdkStatus                                                  Attribute of type: SdkStatus
      CreateMonitoredItemsError.......................................The monitored items could not be created
          +assignedClientHandles                                      Attribute of type: UInt32Vector
      CreateMonitoredItemsInvocationError.............................Could not invoke the CreateMontitoredItem service
          +sdkStatus                                                  Attribute of type: SdkStatus
      BeginCreateMonitoredItemsInvocationError........................Could not invoke the BeginCreateMontitoredItem service
          +sdkStatus                                                  Attribute of type: SdkStatus
      ServerCouldNotCreateMonitoredItemsError.........................The server could not create the requested monitored items
          +sdkStatus                                                  Attribute of type: SdkStatus
      BrowseNextInvocationError.......................................Could not invoke the BrowseNext service
          +sdkStatus                                                  Attribute of type: SdkStatus
      ServerCouldNotBrowseNextError...................................The server could not successfully process the BrowseNext service
          +sdkStatus                                                  Attribute of type: SdkStatus
      BrowseInvocationError...........................................Could not invoke the Browse service
          +sdkStatus                                                  Attribute of type: SdkStatus
      ServerCouldNotBrowseError.......................................The server could not successfully process the Browse service
          +sdkStatus                                                  Attribute of type: SdkStatus
      ReadInvocationError.............................................Could not invoke the Read service
          +sdkStatus                                                  Attribute of type: SdkStatus
      BeginReadInvocationError........................................Could not invoke the async Read service
          +sdkStatus                                                  Attribute of type: SdkStatus
      ServerCouldNotReadError.........................................The server could not successfully process the Read service
          +sdkStatus                                                  Attribute of type: SdkStatus
      TranslateBrowsePathsToNodeIdsInvocationError....................Could not invoke the TranslateBrowsePathsToNodeIds service
          +sdkStatus                                                  Attribute of type: SdkStatus
      ServerCouldNotTranslateBrowsePathsToNodeIdsError................The server could not successfully process the TranslateBrowsePathsToNodeIds service
          +sdkStatus                                                  Attribute of type: SdkStatus
      HistoryReadInvocationError......................................Could not invoke the HistoryRead service
          +sdkStatus                                                  Attribute of type: SdkStatus
      HistoryReadRawModifiedInvocationError...........................Could not invoke the HistoryReadRawModified service
          +sdkStatus                                                  Attribute of type: SdkStatus
      ServerCouldNotHistoryReadError..................................The server could not successfully process the HistoryRead service
          +sdkStatus                                                  Attribute of type: SdkStatus
      MethodCallInvocationError.......................................Could not invoke the MethodCall service
          +sdkStatus                                                  Attribute of type: SdkStatus
      AsyncMethodCallInvocationError..................................Could not invoke the async MethodCall service
          +sdkStatus                                                  Attribute of type: SdkStatus
      ServerCouldNotCallMethodError...................................The server could not successfully process the MethodCall service
          +sdkStatus                                                  Attribute of type: SdkStatus
      WriteInvocationError............................................Could not invoke the Write service
          +sdkStatus                                                  Attribute of type: SdkStatus
      AsyncWriteInvocationError.......................................Could not invoke the async Write service
          +sdkStatus                                                  Attribute of type: SdkStatus
      ServerCouldNotWriteError........................................The server could not successfully process the Write service
          +sdkStatus                                                  Attribute of type: SdkStatus
      CallCompleteError...............................................The async call was completed with error
          +sdkStatus                                                  Attribute of type: SdkStatus
      InputArgumentError..............................................There was an error for the given input argument
          +sdkStatus                                                  Attribute of type: SdkStatus
      ReadCompleteError...............................................The async read was completed with error
          +sdkStatus                                                  Attribute of type: SdkStatus
      WriteCompleteError..............................................The async write was completed with error
          +sdkStatus                                                  Attribute of type: SdkStatus
      SetPublishingModeInvocationError................................Could not invoke the SetPublishingMode service
          +sdkStatus                                                  Attribute of type: SdkStatus
      SetMonitoringModeInvocationError................................Could not invoke the SetMonitoringMode service
          +sdkStatus                                                  Attribute of type: SdkStatus
      ServerCouldNotSetMonitoringModeError............................The server could not set the monitoring mode successfully
          +clientHandle                                               Attribute of type: int
          +sdkStatus                                                  Attribute of type: SdkStatus
      BadDataReceivedError............................................Bad data received
          +sdkStatus                                                  Attribute of type: SdkStatus
   SubscriptionError..................................................Subscription error
      SubscriptionNotCreatedError.....................................The subscription is not created
      CouldNotManuallySubscribeError..................................Could not manually subscribe
      CouldNotManuallyUnsubscribeError................................Could not manually unsubscribe
      SubscriptionHasBeenDeletedError.................................The subscription has been deleted
      CreateSubscriptionError.........................................Could not create the subscription
          +sdkStatus                                                  Attribute of type: SdkStatus
      DeleteSubscriptionError.........................................Could not delete the subscription
          +sdkStatus                                                  Attribute of type: SdkStatus
   UnsupportedError...................................................UnsupportedError
      UnsupportedNodeIdIdentifierTypeError............................The given NodeId identifier type is not supported
      SyncInvocationNotSupportedError.................................Synchronous invocation is not supported
      AsyncInvocationNotSupportedError................................Asynchronous invocation is not supported
      AsyncInvocationOnMultipleSessionsNotSupportedError..............Asynchronous invocation on multiple sessions is not supported
      AsyncMultiMethodCallNotSupportedError...........................Asynchronous multiple method calls are not supported
   BackwardsCompatibilityError........................................This error is only kept for backwards compatibility. It will never be raised by the UAF.
      DataFormatError.................................................This error is only kept for backwards compatibility. It will never be raised by the UAF.
      DataSizeError...................................................This error is only kept for backwards compatibility. It will never be raised by the UAF.
      DataSourceError.................................................This error is only kept for backwards compatibility. It will never be raised by the UAF.
      DisconnectionError..............................................This error is only kept for backwards compatibility. It will never be raised by the UAF.
      LowLevelError...................................................This error is only kept for backwards compatibility. It will never be raised by the UAF.
      OtherError......................................................This error is only kept for backwards compatibility. It will never be raised by the UAF.
      TimeoutError....................................................This error is only kept for backwards compatibility. It will never be raised by the UAF.
      NoResultReceivedError...........................................This error is only kept for backwards compatibility. It will never be raised by the UAF.
      UnknownHandleError..............................................This error is only kept for backwards compatibility. It will never be raised by the UAF.

class UafError

class pyuaf.util.errors.UafError(*args)

A UafError is the superclass of all UAF related exceptions.

Catch this error to catch all errors raised by the UAF.

  • Attributes inherited from the built-in class Exception:

    message

    The message of the error.

Subclasses of UafError

class pyuaf.util.errors.AsyncConnectionFailedError(*args)
  • attributes:

    AsyncConnectionFailedError.sdkStatus
    AsyncConnectionFailedError.serverUri
    • type: str
class pyuaf.util.errors.AsyncInvocationNotSupportedError
class pyuaf.util.errors.AsyncInvocationOnMultipleSessionsNotSupportedError
class pyuaf.util.errors.AsyncMethodCallInvocationError(*args)
  • attributes:

    AsyncMethodCallInvocationError.sdkStatus
class pyuaf.util.errors.AsyncMultiMethodCallNotSupportedError
class pyuaf.util.errors.AsyncWriteInvocationError(*args)
  • attributes:

    AsyncWriteInvocationError.sdkStatus
class pyuaf.util.errors.BackwardsCompatibilityError
class pyuaf.util.errors.BadDataReceivedError(*args)
  • attributes:

    BadDataReceivedError.sdkStatus
class pyuaf.util.errors.BadNamespaceArrayError
class pyuaf.util.errors.BadServerArrayError
class pyuaf.util.errors.BadStatusesPresentError(*args)
  • attributes:

    BadStatusesPresentError.noOfBad
    • type: int
    BadStatusesPresentError.noOfGood
    • type: int
    BadStatusesPresentError.noOfUncertain
    • type: int
class pyuaf.util.errors.BeginCreateMonitoredItemsInvocationError(*args)
  • attributes:

    BeginCreateMonitoredItemsInvocationError.sdkStatus
class pyuaf.util.errors.BeginReadInvocationError(*args)
  • attributes:

    BeginReadInvocationError.sdkStatus
class pyuaf.util.errors.BrowseInvocationError(*args)
  • attributes:

    BrowseInvocationError.sdkStatus
class pyuaf.util.errors.BrowseNextInvocationError(*args)
  • attributes:

    BrowseNextInvocationError.sdkStatus
class pyuaf.util.errors.CallCompleteError(*args)
  • attributes:

    CallCompleteError.sdkStatus
class pyuaf.util.errors.ClientCertificateLoadingError(*args)
  • attributes:

    ClientCertificateLoadingError.sdkStatus
class pyuaf.util.errors.ConfigurationError(*args)
class pyuaf.util.errors.ConnectionError(*args)
class pyuaf.util.errors.ConnectionFailedError(*args)
  • attributes:

    ConnectionFailedError.endpointUrl
    • type: str
    ConnectionFailedError.sdkStatus
class pyuaf.util.errors.ContinuationPointsDontMatchAddressesError
class pyuaf.util.errors.CouldNotCreateCertificateRevocationListLocationError(*args)
  • attributes:

    CouldNotCreateCertificateRevocationListLocationError.certificateRevocationListLocation
    • type: str
class pyuaf.util.errors.CouldNotCreateCertificateTrustListLocationError(*args)
  • attributes:

    CouldNotCreateCertificateTrustListLocationError.certificateTrustListLocation
    • type: str
class pyuaf.util.errors.CouldNotCreateClientCertificateLocationError(*args)
  • attributes:

    CouldNotCreateClientCertificateLocationError.clientCertificate
    • type: str
class pyuaf.util.errors.CouldNotCreateClientPrivateKeyLocationError(*args)
  • attributes:

    CouldNotCreateClientPrivateKeyLocationError.clientPrivateKey
    • type: str
class pyuaf.util.errors.CouldNotCreateIssuersCertificateLocationError(*args)
  • attributes:

    CouldNotCreateIssuersCertificateLocationError.issuersCertificatesLocation
    • type: str
class pyuaf.util.errors.CouldNotCreateIssuersRevocationListLocationError(*args)
  • attributes:

    CouldNotCreateIssuersRevocationListLocationError.issuersRevocationListLocation
    • type: str
class pyuaf.util.errors.CouldNotManuallySubscribeError
class pyuaf.util.errors.CouldNotManuallyUnsubscribeError
class pyuaf.util.errors.CouldNotReadArraysError(*args)
  • attributes:

    CouldNotReadArraysError.sdkStatus
class pyuaf.util.errors.CreateMonitoredItemsError(*args)
  • attributes:

    CreateMonitoredItemsError.assignedClientHandles
class pyuaf.util.errors.CreateMonitoredItemsInvocationError(*args)
  • attributes:

    CreateMonitoredItemsInvocationError.sdkStatus
class pyuaf.util.errors.CreateSubscriptionError(*args)
  • attributes:

    CreateSubscriptionError.sdkStatus
class pyuaf.util.errors.DataDontMatchAddressesError
class pyuaf.util.errors.DataFormatError
class pyuaf.util.errors.DataSizeError
class pyuaf.util.errors.DataSourceError
class pyuaf.util.errors.DefinitionNotFoundError
class pyuaf.util.errors.DeleteSubscriptionError(*args)
  • attributes:

    DeleteSubscriptionError.sdkStatus
class pyuaf.util.errors.DisconnectionError
class pyuaf.util.errors.DisconnectionFailedError(*args)
  • attributes:

    DisconnectionFailedError.endpointUrl
    • type: str
    DisconnectionFailedError.sdkStatus
class pyuaf.util.errors.DiscoveryError(*args)
class pyuaf.util.errors.EmptyAddressError
class pyuaf.util.errors.EmptyServerUriAndUnknownNamespaceIndexError(*args)
  • attributes:

    EmptyServerUriAndUnknownNamespaceIndexError.unknownNamespaceIndex
    • type: long
class pyuaf.util.errors.EmptyServerUriError
class pyuaf.util.errors.EmptyUrlError
class pyuaf.util.errors.EmptyUserCertificateError(*args)
  • attributes:

    EmptyUserCertificateError.certificate
    • type: str
class pyuaf.util.errors.ExpandedNodeIdAddressExpectedError
class pyuaf.util.errors.FindServersError(*args)
  • attributes:

    FindServersError.sdkStatuses
    • type: SwigPyObject
class pyuaf.util.errors.GeneralError(*args)
class pyuaf.util.errors.GetEndpointsError(*args)
  • attributes:

    GetEndpointsError.sdkStatus
class pyuaf.util.errors.HistoryReadInvocationError(*args)
  • attributes:

    HistoryReadInvocationError.sdkStatus
class pyuaf.util.errors.HistoryReadRawModifiedInvocationError(*args)
  • attributes:

    HistoryReadRawModifiedInvocationError.sdkStatus
class pyuaf.util.errors.InputArgumentError(*args)
  • attributes:

    InputArgumentError.sdkStatus
class pyuaf.util.errors.InvalidAddressError
class pyuaf.util.errors.InvalidPrivateKeyError(*args)
  • attributes:

    InvalidPrivateKeyError.privateKey
    • type: str
class pyuaf.util.errors.InvalidRequestError(*args)
class pyuaf.util.errors.InvalidServerUriError(*args)
  • attributes:

    InvalidServerUriError.invalidServerUri
    • type: str
class pyuaf.util.errors.ItemNotFoundForTheGivenHandleError
class pyuaf.util.errors.LowLevelError
class pyuaf.util.errors.MethodCallInvocationError(*args)
  • attributes:

    MethodCallInvocationError.sdkStatus
class pyuaf.util.errors.MultipleTranslationResultsError
class pyuaf.util.errors.NamespaceArrayConversionError
class pyuaf.util.errors.NoConnectedSessionToUpdateArraysError
class pyuaf.util.errors.NoDiscoveryUrlsExposedByServerError(*args)
class pyuaf.util.errors.NoDiscoveryUrlsFoundError
class pyuaf.util.errors.NoEndpointsProvidedByServerError
class pyuaf.util.errors.NoItemFoundForTheGivenRequestHandleError(*args)
  • attributes:

    NoItemFoundForTheGivenRequestHandleError.requestHandle
    • type: long
class pyuaf.util.errors.NoNamespaceIndexOrUriGivenError
class pyuaf.util.errors.NoParallelFindServersAllowedError
class pyuaf.util.errors.NoResultReceivedError
class pyuaf.util.errors.NoSecuritySettingsGivenError
class pyuaf.util.errors.NoStatusesGivenError
class pyuaf.util.errors.NoTargetsGivenError
class pyuaf.util.errors.NotAllTargetsCouldBeResolvedError(*args)
  • attributes:

    NotAllTargetsCouldBeResolvedError.unresolvedTargetNumbers
class pyuaf.util.errors.OpenSSLStoreInitializationError(*args)
  • attributes:

    OpenSSLStoreInitializationError.sdkStatus
class pyuaf.util.errors.OtherError
class pyuaf.util.errors.PathCreationError(*args)
class pyuaf.util.errors.PathNotExistsError(*args)
class pyuaf.util.errors.ReadCompleteError(*args)
  • attributes:

    ReadCompleteError.sdkStatus
class pyuaf.util.errors.ReadInvocationError(*args)
  • attributes:

    ReadInvocationError.sdkStatus
class pyuaf.util.errors.ResolutionError(*args)
class pyuaf.util.errors.SecurityError(*args)
class pyuaf.util.errors.SecuritySettingsMatchError
class pyuaf.util.errors.ServerArrayConversionError
class pyuaf.util.errors.ServerCertificateRejectedByUserError
class pyuaf.util.errors.ServerCertificateSavingError(*args)
  • attributes:

    ServerCertificateSavingError.sdkStatus
class pyuaf.util.errors.ServerCouldNotBrowseError(*args)
  • attributes:

    ServerCouldNotBrowseError.sdkStatus
class pyuaf.util.errors.ServerCouldNotBrowseNextError(*args)
  • attributes:

    ServerCouldNotBrowseNextError.sdkStatus
class pyuaf.util.errors.ServerCouldNotCallMethodError(*args)
  • attributes:

    ServerCouldNotCallMethodError.sdkStatus
class pyuaf.util.errors.ServerCouldNotCreateMonitoredItemsError(*args)
  • attributes:

    ServerCouldNotCreateMonitoredItemsError.sdkStatus
class pyuaf.util.errors.ServerCouldNotHistoryReadError(*args)
  • attributes:

    ServerCouldNotHistoryReadError.sdkStatus
class pyuaf.util.errors.ServerCouldNotReadError(*args)
  • attributes:

    ServerCouldNotReadError.sdkStatus
class pyuaf.util.errors.ServerCouldNotSetMonitoringModeError(*args)
  • attributes:

    ServerCouldNotSetMonitoringModeError.clientHandle
    • type: int
    ServerCouldNotSetMonitoringModeError.sdkStatus
class pyuaf.util.errors.ServerCouldNotTranslateBrowsePathsToNodeIdsError(*args)
  • attributes:

    ServerCouldNotTranslateBrowsePathsToNodeIdsError.sdkStatus
class pyuaf.util.errors.ServerCouldNotWriteError(*args)
  • attributes:

    ServerCouldNotWriteError.sdkStatus
class pyuaf.util.errors.ServerDidNotProvideCertificateError
class pyuaf.util.errors.ServiceError(*args)
class pyuaf.util.errors.SessionNotConnectedError
class pyuaf.util.errors.SessionSecuritySettingsDontMatchEndpointError
class pyuaf.util.errors.SetMonitoringModeInvocationError(*args)
  • attributes:

    SetMonitoringModeInvocationError.sdkStatus
class pyuaf.util.errors.SetPublishingModeInvocationError(*args)
  • attributes:

    SetPublishingModeInvocationError.sdkStatus
class pyuaf.util.errors.SubscriptionError(*args)
class pyuaf.util.errors.SubscriptionHasBeenDeletedError
class pyuaf.util.errors.SubscriptionNotCreatedError
class pyuaf.util.errors.SyncInvocationNotSupportedError
class pyuaf.util.errors.TargetRankOutOfBoundsError(*args)
  • attributes:

    TargetRankOutOfBoundsError.noOfTargets
    • type: int
    TargetRankOutOfBoundsError.targetRank
    • type: int
class pyuaf.util.errors.TimeoutError
class pyuaf.util.errors.TranslateBrowsePathsToNodeIdsInvocationError(*args)
  • attributes:

    TranslateBrowsePathsToNodeIdsInvocationError.sdkStatus
class pyuaf.util.errors.UafError(*args)
class pyuaf.util.errors.UnexpectedError(*args)
class pyuaf.util.errors.UnknownClientConnectionIdError(*args)
  • attributes:

    UnknownClientConnectionIdError.unknownClientConnectionId
    • type: int
class pyuaf.util.errors.UnknownClientHandleError(*args)
  • attributes:

    UnknownClientHandleError.unknownClientHandle
    • type: int
class pyuaf.util.errors.UnknownClientSubscriptionHandleError(*args)
  • attributes:

    UnknownClientSubscriptionHandleError.unknownClientSubscriptionHandle
    • type: int
class pyuaf.util.errors.UnknownHandleError
class pyuaf.util.errors.UnknownNamespaceIndexAndServerIndexError(*args)
  • attributes:

    UnknownNamespaceIndexAndServerIndexError.unknownNamespaceIndex
    • type: long
    UnknownNamespaceIndexAndServerIndexError.unknownServerIndex
    • type: int
class pyuaf.util.errors.UnknownNamespaceIndexError(*args)
  • attributes:

    UnknownNamespaceIndexError.unknownNamespaceIndex
    • type: long
class pyuaf.util.errors.UnknownNamespaceUriError(*args)
  • attributes:

    UnknownNamespaceUriError.nameSpaceMap
    • type: SwigPyObject
    UnknownNamespaceUriError.nameSpaceMapString
    • type: str
    UnknownNamespaceUriError.unknownNamespaceUri
    • type: str
class pyuaf.util.errors.UnknownServerError(*args)
  • attributes:

    UnknownServerError.knownServerUris
    UnknownServerError.unknownServerUri
    • type: str
class pyuaf.util.errors.UnknownServerIndexError(*args)
  • attributes:

    UnknownServerIndexError.unknownServerIndex
    • type: int
class pyuaf.util.errors.UnsupportedError(*args)
class pyuaf.util.errors.UnsupportedNodeIdIdentifierTypeError
class pyuaf.util.errors.WriteCompleteError(*args)
  • attributes:

    WriteCompleteError.sdkStatus
class pyuaf.util.errors.WriteInvocationError(*args)
  • attributes:

    WriteInvocationError.sdkStatus
class pyuaf.util.errors.WrongTypeError(*args)