diff options
Diffstat (limited to 'numpy/core/_exceptions.py')
-rw-r--r-- | numpy/core/_exceptions.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/numpy/core/_exceptions.py b/numpy/core/_exceptions.py index 3cd8042ce..be3aa8bee 100644 --- a/numpy/core/_exceptions.py +++ b/numpy/core/_exceptions.py @@ -117,6 +117,15 @@ class _UFuncOutputCastingError(_UFuncCastingError): # Exception used in shares_memory() @set_module('numpy') class TooHardError(RuntimeError): + """max_work was exceeded. + + This is raised whenever the maximum number of candidate solutions + to consider specified by the ``max_work`` parameter is exceeded. + Assigning a finite number to max_work may have caused the operation + to fail. + + """ + pass |