rise_error

nrv.backend.rise_error(*args, out=1, **kwargs)[source]

Rises and error to the log and to the prompt for the master process (process ID 0) in case of parallel computing. This function exit the programm.

Parameters:
  • *args – anything to pass as error message

  • out (int) – programm exit value, must be strictly positive. By default equal to 1