Provides the WazuhDapiError class, which allows to parse the dapi_errors section of wazuh api error responses.

class WazuhDapiError(node: str, **kwargs)#

Bases: object

Dapi error object.

error_message: str | None = None#

Description of the issue.

logfile: str | None = None#

Path to a logfile.

node: str#

Name of the node.