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