terminate()
In case of an unrecoverable error, you can terminate the failed run in your error callback.
This effectively disables processing in-flight operations as well as logging new data. However, the training process isn't interrupted.
For details, see Neptune API error handling.
Example
from neptune_scale import Run
def my_error_callback(exc):
run.terminate()
run = Run(..., on_error_callback=my_error_callback)