this is an article about the examples of checked and unchecked exception.
Highlight your GraphQL code right in your LaTeX code. (See also this help article and this minted example.
Source Code Highlighting with Minted in LaTeX
The minted package provides automatic syntax highlighting for source code listings. It uses the excellent pygments highlighter, which provides very high quality highlighting for a wide range of languages.
This example also shows how you can use minted to typeset LaTeX math embedded in your source code.