Hi Luis, There is not a maintained list of every possible combination of exception type and message because they're continuously being added within the Python standard library, and exception messages are considered an implementation detail that are subject to change. While there are many that have remained the same for many years and likely will continue to, we do periodically adjust some to add additional information, make formatting fixes, and/or improve grammar. Documenting exception messages formally would essentially remove them from being implementation details (meaning that they can't as easily be adjusted); not to mention the long term cost of continuously updating that list each time a new exception message is written somewhere within the standard library. It would not be very sustainable, even more so if you consider that CPython development is mostly volunteer-driven efforts.
Regards, Kyle Stanley On Thu, Oct 1, 2020 at 3:18 PM Luis Gustavo Araujo < luisaraujo.i...@gmail.com> wrote: > Hi, > Is it possible to get the list of all error messages that display in > Python? I want the full message -> type error: additional message. > > Examples: > NameError: name 'x' is not defined > IndentationError: unindent does not match any outer indentation level > > In this webpage (ttps://docs.python.org/3/library/exceptions.html) I only > can check the type error. > > []s > > > Em qui., 1 de out. de 2020 às 15:59, Luis Gustavo Araujo < > luisaraujo.i...@gmail.com> escreveu: > > > Hi, > > Is it possible to get the list of all error messages that display in > > Python? I want the full message -> type error: additional message. > > > > Examples: > > NameError: name 'x' is not defined > > IndentationError: unindent does not match any outer indentation level > > > > In this webpage (ttps://docs.python.org/3/library/exceptions.html) I > only > > can check the type error. > > > > []s > > > > > > -- > > > > [image: Prefeitura Municipal de Amélia Rodrigues] > > <https://htmlsig.com/t/000001BFTF9Q> > > > > LUIS GUSTAVO ARAUJO > > *Amélia Rodrigues Prefecture - Brazil (* > > > > *Teacher of Computer Science) UNIFACS - Laureate International > > Universities (Professor Assistant I)* > > > > Degree in Computer Science (IFBA) - 2015 > > Master Degrees in Computer Applied (UEFS) - 2018 > > PhD Student in Computer Science (UFBA) > > *http://dgp.cnpq.br/dgp/espelhorh/8431672735528634 > > <http://dgp.cnpq.br/dgp/espelhorh/8431672735528634>* > > > > [image: Twitter] <https://htmlsig.com/t/000001BH4ZT3> [image: Facebook] > > <https://www.facebook.com/Luis4raujo> [image: Github] > > <https://htmlsig.com/t/000001BHVVQS> > > > > > > > > > > < > https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> > Livre > > de vírus. www.avast.com > > < > https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail > >. > > <#m_-2814426795322638799_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > > > > -- > > [image: Prefeitura Municipal de Amélia Rodrigues] > <https://htmlsig.com/t/000001BFTF9Q> > > LUIS GUSTAVO ARAUJO > *Amélia Rodrigues Prefecture - Brazil (* > > *Teacher of Computer Science) UNIFACS - Laureate International Universities > (Professor Assistant I)* > > Degree in Computer Science (IFBA) - 2015 > Master Degrees in Computer Applied (UEFS) - 2018 > PhD Student in Computer Science (UFBA) > *http://dgp.cnpq.br/dgp/espelhorh/8431672735528634 > <http://dgp.cnpq.br/dgp/espelhorh/8431672735528634>* > > [image: Twitter] <https://htmlsig.com/t/000001BH4ZT3> [image: Facebook] > <https://www.facebook.com/Luis4raujo> [image: Github] > <https://htmlsig.com/t/000001BHVVQS> > -- > https://mail.python.org/mailman/listinfo/python-list > -- https://mail.python.org/mailman/listinfo/python-list