Lines Matching defs:reason
80 # authentication for some reason but fails, how should the error be
143 def __init__(self, reason):
144 self.args = reason,
145 self.reason = reason
148 return '<urlopen error %s>' % self.reason
170 # since URLError specifies a .reason attribute, HTTPError should also
173 def reason(self):
1207 resp.msg = r.reason