From ab547bda122673e716f1408887b9c8ae5b093ae8 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Wed, 2 Nov 2016 15:56:30 -0600 Subject: [PATCH] Add NoRemoteError Signed-off-by: Zack Cerza --- teuthology/exceptions.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/teuthology/exceptions.py b/teuthology/exceptions.py index 8e79511872..7a29b11837 100644 --- a/teuthology/exceptions.py +++ b/teuthology/exceptions.py @@ -175,3 +175,10 @@ class MaxWhileTries(Exception): class ConsoleError(Exception): pass + + +class NoRemoteError(Exception): + message = "This operation requires a remote" + + def __str__(self): + return self.message -- 2.39.5