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.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
api-guide | Loading commit data... | |
css | Loading commit data... | |
img | Loading commit data... | |
js | Loading commit data... | |
topics | Loading commit data... | |
tutorial | Loading commit data... | |
404.html | Loading commit data... | |
index.md | Loading commit data... | |
requirements.txt | Loading commit data... | |
template.html | Loading commit data... |