Example #1
0
File: exp.py Project: pcrews/libra
 def faultstring(self):
     return _(six.u("ImmutableEntity: %s")) % (self.msg)
Example #2
0
File: exp.py Project: pcrews/libra
 def faultstring(self):
     return _(six.u("OverLimit: %s")) % (self.msg)
Example #3
0
File: exp.py Project: pcrews/libra
 def faultstring(self):
     return _(six.u("NotAuthorized: %s")) % (self.msg)
Example #4
0
 def faultstring(self):
     error = _("Unknown attribute for argument %(argn)s: %(attrs)s")
     if len(self.attributes) > 1:
         error = _("Unknown attributes for argument %(argn)s: %(attrs)s")
     str_attrs = ", ".join(self.attributes)
     return error % {'argn': self.fieldname, 'attrs': str_attrs}
Example #5
0
File: exp.py Project: pcrews/libra
 def faultstring(self):
     return _(six.u("NotFound: %s")) % (self.msg)
Example #6
0
 def faultstring(self):
     return _(six.u('Unknown argument: "%s"%s')) % (
         self.argname, self.msg and ": " + self.msg or "")
Example #7
0
 def faultstring(self):
     return _(six.u("Unknown function name: %s")) % (self.name)
Example #8
0
 def faultstring(self):
     error = _("Unknown attribute for argument %(argn)s: %(attrs)s")
     if len(self.attributes) > 1:
         error = _("Unknown attributes for argument %(argn)s: %(attrs)s")
     str_attrs = ", ".join(self.attributes)
     return error % {'argn': self.fieldname, 'attrs': str_attrs}
Example #9
0
 def faultstring(self):
     return _(
         six.u("Invalid input for field/attribute %s. Value: '%s'. %s")) % (
             self.fieldname, self.value, self.msg)
Example #10
0
 def faultstring(self):
     return _(six.u('Unknown argument: "%s"%s')) % (
         self.argname, self.msg and ": " + self.msg or "")
Example #11
0
 def faultstring(self):
     return _(six.u("Unknown function name: %s")) % (self.name)
Example #12
0
 def faultstring(self):
     return _(six.u(
         "Invalid input for field/attribute %s. Value: '%s'. %s")
     ) % (self.fieldname, self.value, self.msg)
Example #13
0
 def faultstring(self):
     return _(six.u("ImmutableEntity: %s")) % (self.msg)
Example #14
0
 def faultstring(self):
     return _(six.u("NotAuthorized: %s")) % (self.msg)
Example #15
0
 def faultstring(self):
     return _(six.u("OverLimit: %s")) % (self.msg)
Example #16
0
 def faultstring(self):
     return _(six.u("NotFound: %s")) % (self.msg)