Style guidelines (e.g. PEP8) for long error messages

Viewed 122

I am raising some exceptions in my Python code, and to give an as clear as possible diagnose, the error message is quite detailed. Is there some PEP8-like guideline on how to print this error message? Should I add newlines in the exception such that it prints more nicely?

0 Answers
Related