.. _examples.extra.error_handling:

Error Handling
==============

How to handle SDK exceptions.

.. literalinclude:: ../../../examples/extra/error_handling.py
	:language: python
	:caption: See `error_handling.py <https://github.com/IBM/ibm-generative-ai/blob/main/examples/extra/error_handling.py>`_ on GitHub.
	:lines: 6-