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