On this page
ftplib.error_reply
Prev: ftplib.error_proto | Up: ftplib | Next: ftplib.error_temp
Rel: ftplib.error_perm, ftplib.error_proto, ftplib.error_temp, ftplib.FTP
Ref: docs.python.org — ftplib.error_reply
Tags: #public #python3 #stdlib #ftplib
Import
import ftplib
from ftplib import error_reply
Signature & Overview
ftplib.error_reply(...)
ftplib.error_reply class.
Methods & Attributes
error_reply.add_note(self, note, /)— Add a note to the exceptionerror_reply.with_traceback(self, tb, /)— Set self.traceback to tb and return self.
Usage
import ftplib
assert issubclass(ftplib.error_reply, ftplib.Error)
Gotchas
- Raised on unexpected FTP reply codes (1xx–3xx when not expected).
REPL Inspect
from ftplib import error_reply
help(error_reply)
Linked from
Related notes
- tuts/python3/stdlib_module/ftplib/error_perm Linked here; links to this page; shared tags: #ftplib, #stdlib
- tuts/python3/stdlib_module/ftplib/error_proto Linked here; links to this page; shared tags: #ftplib, #stdlib
- tuts/python3/stdlib_module/ftplib/error_temp Linked here; links to this page; shared tags: #ftplib, #stdlib
- tuts/python3/stdlib_module/ftplib/FTP Linked here; links to this page; shared tags: #ftplib, #stdlib
- tuts/python3/stdlib_module/ftplib Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/ftplib/FTP_TLS links to this page; shared tags: #ftplib, #stdlib
- tuts/c/stdlib shared tags: #stdlib
- tuts/c/stdlib/assert shared tags: #stdlib
- tuts/c/stdlib/assert/assert shared tags: #stdlib
- tuts/c/stdlib/assert/static_assert shared tags: #stdlib