Simple edits
This commit is contained in:
parent
2f46c5374a
commit
d2f9013491
|
@ -10,7 +10,7 @@ It allows us to manage error reporting in one place, and format errors for the f
|
|||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
01_api_error.rst
|
||||
01_api_error
|
||||
02_helper_methods
|
||||
03_example_usage
|
||||
04_api_error_schema
|
||||
|
|
|
@ -40,14 +40,14 @@ The other arguments allow us to pass along additional information depending on t
|
|||
Usage
|
||||
-----
|
||||
|
||||
To use ApiError, you would first import it
|
||||
To use ApiError, you first need to import it.
|
||||
|
||||
.. code-block::
|
||||
|
||||
from crc.api.common import ApiError
|
||||
|
||||
|
||||
Then use it in a code block like a try/except,
|
||||
Then you can use it in a code block like a try/except,
|
||||
|
||||
.. code-block::
|
||||
|
||||
|
|
Loading…
Reference in New Issue