Lines Matching refs:reason
72 # authentication for some reason but fails, how should the error be
173 msg attribute contains the same information as the reason attribute ---
174 the reason phrase returned by the server --- instead of the response
1367 # have the reason in .msg. It would be good to mark this
1370 r.msg = r.reason
1961 response.status, response.reason, response.msg, data)
2443 except ftplib.error_perm as reason:
2444 if str(reason)[:3] != '550':
2445 raise URLError(f'ftp error: {reason}') from reason
2455 except ftplib.error_perm as reason:
2456 raise URLError('ftp error: %r' % reason) from reason