Exemple #1
0
 def __init__(self, path):
     msg = _("Could not write to %(filename)s",
             {"filename": util.stringify(path)})
     NetworkError.__init__(self, _('Write error'), msg)
Exemple #2
0
 def __init__(self, path):
     NetworkError.__init__(
         self, _('File not found'),
         _('The file "%(path)s" doesn\'t exist', {"path": path}))
Exemple #3
0
 def __init__(self, path):
     NetworkError.__init__(
         self, _('Read error'),
         _('Error while reading from "%(path)s"', {"path": path}))
Exemple #4
0
 def __init__(self, url):
     NetworkError.__init__(self, _('Invalid URL'),
                           _('"%(url)s" is not a valid URL', {"url": url}))
Exemple #5
0
 def __init__(self, host):
     NetworkError.__init__(
         self, _('Unknown Host'),
         _('The domainname "%(host)s" couldn\'t be found', {"host": host}))
Exemple #6
0
 def __init__(self, path):
     msg = _("Could not write to %(filename)s",
         {"filename": util.stringify(path)})
     NetworkError.__init__(self, _('Write error'), msg)
Exemple #7
0
 def __init__(self, longDescription):
     NetworkError.__init__(self, _("HTTP error"), longDescription)
Exemple #8
0
 def __init__(self, path):
     NetworkError.__init__(self, _('Read error'),
         _('Error while reading from "%(path)s"', {"path": path}))
Exemple #9
0
 def __init__(self, path):
     NetworkError.__init__(self, _('File not found'),
         _('The file "%(path)s" doesn\'t exist', {"path": path}))
Exemple #10
0
 def __init__(self, host):
     NetworkError.__init__(self, _('Unknown Host'),
         _('The domainname "%(host)s" couldn\'t be found', {"host": host}))
Exemple #11
0
 def __init__(self, url):
     NetworkError.__init__(self, _('Invalid URL'),
             _('"%(url)s" is not a valid URL', {"url": url}))
Exemple #12
0
 def __init__(self, longDescription):
     NetworkError.__init__(self, _("HTTP error"), longDescription)