proper fault string to user whose account is disabled, but attempts to extract user...
[sfa.git] / sfa / util / faults.py
index d1f070c..c833153 100644 (file)
@@ -263,3 +263,10 @@ class InvalidRSpec(SfaFault):
     def __str__(self):
         return repr(self.value)
 
+class AccountNotEnabled(SfaFault):
+    def __init__(self,  extra = None):
+        faultString = "Account Disabled"
+        SfaFault.__init__(self, 108, faultString, extra)
+    def __str__(self):
+        return repr(self.value)
+