yaml / pyyaml

Canonical source repository for PyYAML
MIT License
2.47k stars 507 forks source link

Documentation of exception types #750

Open IllDepence opened 10 months ago

IllDepence commented 10 months ago

I’m looking for a documentation of exception types.

The web documentation only briefly mentions “instance of YAMLError or of its subclass” without further details.

In the source I could so far only find yaml/_yaml.pyx lines 14–23, which appears to be a list of the possible exception classes, but without an explanation of what they mean.

Does such a documentation exist (specifically for/within the Python package or somewhere else)?

Thanks. :‌‌)