Error¶
- class dsviper.Error(module, domain, code, message)¶
Bases:
objectA 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.
- process_name() str¶
Return the process name.
- static set_process_name(name: str) None¶
Assign the name of the process reported in Error.