> For the complete documentation index, see [llms.txt](https://sandbox-docs.verifone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sandbox-docs.verifone.com/adk-5.0-programmers-guide/gui__error_8h_source.md).

# gui\_error.h

[Go to the documentation of this file.](/adk-5.0-programmers-guide/readme/files/dir_9225c15707e5fd27b700c844799f6dc5/dir_7447c8e6446ba60664134d106c4ecb69/dir_8c13e55433a2f6247a8b0f337ff26c19/gui__error_8h.md)

```cpp
 1 #ifndef GUI_ERROR_H_2013_03_22
 2 #define GUI_ERROR_H_2013_03_22
 3 
 10 #ifdef __cplusplus
 11 #ifndef DOXYGEN
 12 namespace vfigui {
 13 #endif
 14 #endif
 15 
 17 enum UIError{
 18  // general errors
 19  UI_ERR_OK = 0,
 20  UI_ERR_ABORT = -1,
 21  UI_ERR_BACK = -2,
 22  UI_ERR_TIMEOUT = -3,
 23  UI_ERR_PROPERTY = -4,
 24  UI_ERR_WRONG_PIN = -5,
 25  UI_ERR_PARAMETER = -6,
 26  UI_ERR_PERMISSION = -7,
 27  UI_ERR_CANCELLED = -8,
 28  UI_ERR_REGION = -9,
 29  UI_ERR_FAIL = -10,
 30  UI_ERR_UNSUPPORTED = -11,
 31  UI_ERR_INVALID = -12,
 32  UI_ERR_WAIT_TIMEOUT = -13,
 33  UI_ERR_CONNECTION_LOST = -14,
 34  UI_ERR_PROTOCOL = -15,
 35  UI_ERR_SCRIPT = -16,
 36  UI_ERR_FILE_READ = -17,
 37  UI_ERR_RESTRICTED = -18,
 38  UI_ERR_MODIFIED = -19,
 39  UI_ERR_ACTION = -20,
 40  UI_ERR_DISPLAY = -21,
 41  UI_ERR_PIN_ENTRY_DENIED = -22
 42 };
 43 
 44 
 45 #ifdef __cplusplus
 46 #ifndef DOXYGEN
 47 }
 48 #endif
 49 #endif
 50 
 53 #endif
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://sandbox-docs.verifone.com/adk-5.0-programmers-guide/gui__error_8h_source.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
