Error Handling
string_pointer = ll_error(errObj,1 | 2 )
The LoadLeveler Error handling API via PyLoadL has the following functions
ll_error
The error handling API takes an error object and prints an error message, the location depends on the parameter.
string_pointer = ll_error(errObj, print_to)
Parameters
- errObj:
A LoadLeveler error object returned by previous calls.
- print_to:
Output stream to display error messge string
- 1 - print error message to standard output
- 2 - print error message to standard error
- Any other value and the error message is not printed
|