Error

class dsviper.Error(module, domain, code, message)

Bases: object

A class used to represent an error raised by Viper.

code() str

Return the code.

component() str

Return the component.

domain() str

Return the domain.

explained() str

Return the explanation of the error.

hostname() str

Return the hostname.

message() str

Return the message.

static parse(description: str) Error | None

Return an Error or None.

process_name() str

Return the process name.

static set_process_name(name: str) None

Assign the name of the process reported in Error.