diff options
Diffstat (limited to 'buildscripts/resmokelib/errors.py')
-rw-r--r-- | buildscripts/resmokelib/errors.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/buildscripts/resmokelib/errors.py b/buildscripts/resmokelib/errors.py index 8243b4ce157..d07dd2078e6 100644 --- a/buildscripts/resmokelib/errors.py +++ b/buildscripts/resmokelib/errors.py @@ -33,3 +33,12 @@ class ServerFailure(TestFailure): as a failure. """ pass + + +class PortAllocationError(ResmokeError): + """ + Exception that is raised by the PortAllocator if a port is requested + outside of the range of valid ports, or if a fixture requests more + ports than were reserved for that job. + """ + pass |