[go: up one dir, main page]

PyS2OPC (client): Add missing status codes

Description

Add missing status codes.

Code version and environment identification

469e51b0

Steps to reproduce

The PyS2OPC client returns a KeyError when it receives OpcUa_BadServerTooBusy from the server.

Relevant logs and/or screenshots

Capture_d_écran_du_2025-12-15_14-31-37

Analysis

The PyS2OPC client returns a KeyError when it receives an unknown status from the server.

Security impact

None

Possible fixes

  1. Add missing status code
  2. Returns the status (as a string if known), otherwise as a hexadecimal numeric status.