# Handling Errors

Where ever possible, our SDKs raise/throw exceptions when errors occur. The exception classes include the error message and `errorCode` property returned in the error object.

{% tabs %}
{% tab title="Python" %}

```python
import skeddly

try:
    # Use the Skeddly SDK
    pass
except skeddly.ParameterValidationFailedException as e:
    print("Error Message: " + str(e))
    print("ErrorCode:" + e.errorCode)
    print("modelState: " + str(e.modelState))
except skeddly.SkeddlyWebException as e:
    print("Error Message: " + str(e))
    print("ErrorCode:" + e.errorCode)
```

{% endtab %}

{% tab title="Second Tab" %}

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.skeddly.com/overview/errors/handling-errors.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
