exceptions.md
6.19 KB
-
Fix doc for custom exception sample · 77ced39e
The way to provide a default detail for APIException is to define a `default_detail` attribute on the subclass. Defining a `detail` attribute without `default_detail` will not work, and will result in empty detail instead.
Paul Melnikow committed