Merge "Fix syntax errors of exception print"
This commit is contained in:
commit
6370ec34ba
@ -84,13 +84,13 @@ class MethodNotExposed(Exception):
|
|||||||
class AmbiguousMethodName(Exception):
|
class AmbiguousMethodName(Exception):
|
||||||
def __init__(self, name):
|
def __init__(self, name):
|
||||||
super(AmbiguousMethodName, self).__init__(
|
super(AmbiguousMethodName, self).__init__(
|
||||||
'Found more that one method "%s"' % name)
|
'Found more than one method "%s"' % name)
|
||||||
|
|
||||||
|
|
||||||
class AmbiguousClassName(Exception):
|
class AmbiguousClassName(Exception):
|
||||||
def __init__(self, name):
|
def __init__(self, name):
|
||||||
super(AmbiguousClassName, self).__init__(
|
super(AmbiguousClassName, self).__init__(
|
||||||
'Found more that one version of class "%s"' % name)
|
'Found more than one version of class "%s"' % name)
|
||||||
|
|
||||||
|
|
||||||
class DslContractSyntaxError(Exception):
|
class DslContractSyntaxError(Exception):
|
||||||
@ -126,7 +126,7 @@ class PropertyAccessError(Exception):
|
|||||||
class AmbiguousPropertyNameError(PropertyAccessError):
|
class AmbiguousPropertyNameError(PropertyAccessError):
|
||||||
def __init__(self, name):
|
def __init__(self, name):
|
||||||
super(AmbiguousPropertyNameError, self).__init__(
|
super(AmbiguousPropertyNameError, self).__init__(
|
||||||
'Found more that one property "%s"' % name)
|
'Found more than one property "%s"' % name)
|
||||||
|
|
||||||
|
|
||||||
class NoWriteAccess(PropertyAccessError):
|
class NoWriteAccess(PropertyAccessError):
|
||||||
|
Loading…
Reference in New Issue
Block a user