# ERRORMSG

This Keyword returns a *\<string>*, the last error message returned by an Action.

{% hint style="warning" %}
Not all Actions return ERRORMSG.
{% endhint %}

{% hint style="success" %}
Click [here ](/kalipso5/developing/error-codes.md)to see a list of possible error codes and their descriptions. The error code description is not mandatory the exact error message.
{% endhint %}


---

# 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://doc.sysdevmobile.com/kalipso5/developing/form/expressions/functions/functions-descriptions/keywords/errormsg.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.
