> For the complete documentation index, see [llms.txt](https://support.powerio.com/hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.powerio.com/hub/codesys-hvac/en/poweriohw-hardware-library/datentypen/enumerationen/error.md).

# ERROR

## `ERROR` (ENUM)

TYPE ERROR : (\* General Errors\
)\
NO\_ERROR, // No error: Everything worked perfectly TIME\_OUT, // Call timeout PENDING, // Still pending INVALID\_PARAMETER, // Invalid parameter INVALID\_HANDLE, // An invalid handle/null pointer was detected INVALID\_IPADDRESS, // The specified address is not valid INVALID\_CONNECTION\_TYPE,// The specified connection type is not valid\
(\\\* Connector Errors\
\`\`\` \* \`\`\`\
)\
CONNECT\_FAILED, // The connection to the listener could not be established HOST\_NOT\_FOUND, // Listener could not be found\
(\\\* Listener Errors\
\`\`\` \* \`\`\`\
)\
TCP\_OPEN\_ERROR, // The tcp connection could not be opened. NO\_STREAMS\_TO\_LISTEN, // There are no streams ADDR\_NOT\_AVAILABLE, // Address not available on this PLC\
(\\\* Stream Errors\\\*)\
CONNECTION\_LOST, // Connection interrupted STREAM\_STATE\_ERROR, // Stream already created GET\_OPTION\_FAILED, // The option could not be found - Maybe it is not supported by the OS. SET\_OPTION\_FAILED, // The option could not be found - Maybe it is not supported by the OS IOCTL\_FAILED, // IO control failed\
\`\`\` \* \`\`\`\
) RECEIVE\_ERROR, // Error while receiving a stream SEND\_ERROR, // Error while sending a stream FD\_SET\_INIT\_FAILED, // init fd could not be set\
(\\\* TLS Errors\\\*) CREATE\_CONTEXT\_FAILED, // Error while creating the TLS context\
(\\\* Http Client\\\*) INVALID\_URL, // Invalid parameter UNEXPECTED\_ERROR, // Unexpected error TCP\_INIT\_ERROR, // The TCP socket cannot be initialized TCP\_READ\_ERROR, // Error while reading the response TCP\_WRITE\_ERROR, // Error while sending the request MISSING\_POST\_VALUE, // The current request type requires a post value RESULT\_PARSE\_ERROR, // Error while parsing the response\
(\\\* HW IO\\\*)\
HTTP\_STATUS ,\
NO\_DATA , NO\_DATA\_INFO, NO\_DATA\_TIME, NO\_DATA\_LEDON, NO\_DATA\_LEDOFF, NO\_DATA\_SETTIME, NO\_DATA\_DIGITAL\_VAL, NO\_DATA\_ANALOG\_VAL,\
RESULT\_NO\_DATA\_DIGITAL\_INPUT, RESULT\_NO\_DATA\_ANALOG\_INPUT, RESULT\_NO\_DATA\_ANALOG\_OUTPUT, RESULT\_NO\_DATA\_DIGITAL\_OUTPUT,\
RESULT\_PARSE\_ERROR\_ANALOG\_INPUT, // Error while parsing the response RESULT\_PARSE\_ERROR\_ANALOG\_OUTPUT, // Error while parsing the response\
RESULT\_PARSE\_ERROR\_DIGITAL\_INPUT, // Error while parsing the response RESULT\_PARSE\_ERROR\_DIGITAL\_OUTPUT, // Error while parsing the response\
TOKEN\_ERROR,\
(\\\* WriteParaUCAdapter\\\*) LOGIN\_WRITE\_ERROR, // Write error LOGIN\_PASSWORD\_ERROR, // Password error LOGIN\_NO\_RESPONSE, // Response from the adapter LOGIN\_ERROR\_404, // Adapter web service not available LOGIN\_INVALID\_PASSSWORD, // Invalid login password LOGIN\_INVALID\_TOKEN, // Invalid login token\
PARA\_WRITE\_ERROR, // Parameter write error PARA\_PASSWORD\_ERROR, // Parameter password error PARA\_NO\_RESPONSE, // No response from the adapter PARA\_ERROR\_404, // Adapter web service not available PARA\_INVALID, // Invalid parameter PARA\_INVALID\_TOKEN // Invalid token

)

Attributes: : `qualified_only`\\

InOut:

| Name                                                 | Comment                                                              |
| ---------------------------------------------------- | -------------------------------------------------------------------- |
| <p><br><br>NO\_ERROR</p>                             | No error: Everything worked perfectly                                |
| <p><br><br>TIME\_OUT</p>                             | Call timeout                                                         |
| <p><br><br>PENDING</p>                               | Still pending                                                        |
| <p><br><br>INVALID\_PARAMETER</p>                    | Invalid parameter                                                    |
| <p><br><br>INVALID\_HANDLE</p>                       | An invalid handle/null pointer was detected                          |
| <p><br><br>INVALID\_IPADDRESS</p>                    | The specified address is not valid                                   |
| <p><br><br>INVALID\_CONNECTION\_TYPE</p>             | The specified connection type is not valid                           |
| <p><br><br>CONNECT\_FAILED</p>                       | The connection to the listener could not be established              |
| <p><br><br>HOST\_NOT\_FOUND</p>                      | Listener could not be found                                          |
| <p><br><br>TCP\_OPEN\_ERROR</p>                      | The tcp connection could not be opened.                              |
| <p><br><br>NO\_STREAMS\_TO\_LISTEN</p>               | There are no streams                                                 |
| <p><br><br>ADDR\_NOT\_AVAILABLE</p>                  | Address not available on this PLC                                    |
| <p><br><br>CONNECTION\_LOST</p>                      | Connection interrupted                                               |
| <p><br><br>STREAM\_STATE\_ERROR</p>                  | Stream already created                                               |
| <p><br><br>GET\_OPTION\_FAILED</p>                   | The option could not be found - Maybe it is not supported by the OS. |
| <p><br><br>SET\_OPTION\_FAILED</p>                   | The option could not be found - Maybe it is not supported by the OS  |
| <p><br><br>IOCTL\_FAILED</p>                         | <p>IO control failed<br><br><code>\<br/>\*\<br/></code><br><br>)</p> |
| <p><br><br>RECEIVE\_ERROR</p>                        | Error while receiving a stream                                       |
| <p><br><br>SEND\_ERROR</p>                           | Error while sending a stream                                         |
| <p><br><br>FD\_SET\_INIT\_FAILED</p>                 | init fd could not be set                                             |
| <p><br><br>CREATE\_CONTEXT\_FAILED</p>               | Error while creating the TLS context                                 |
| <p><br><br>INVALID\_URL</p>                          | Invalid parameter                                                    |
| <p><br><br>UNEXPECTED\_ERROR</p>                     | Unexpected error                                                     |
| <p><br><br>TCP\_INIT\_ERROR</p>                      | The TCP socket cannot be initialized                                 |
| <p><br><br>TCP\_READ\_ERROR</p>                      | Error while reading the response                                     |
| <p><br><br>TCP\_WRITE\_ERROR</p>                     | Error while sending the request                                      |
| <p><br><br>MISSING\_POST\_VALUE</p>                  | The current request type requires a post value                       |
| <p><br><br>RESULT\_PARSE\_ERROR</p>                  | Error while parsing the response                                     |
| <p><br><br>HTTP\_STATUS</p>                          | HW IO                                                                |
| <p><br><br>NO\_DATA</p>                              |                                                                      |
| <p><br><br>NO\_DATA\_INFO</p>                        |                                                                      |
| <p><br><br>NO\_DATA\_TIME</p>                        |                                                                      |
| <p><br><br>NO\_DATA\_LEDON</p>                       |                                                                      |
| <p><br><br>NO\_DATA\_LEDOFF</p>                      |                                                                      |
| <p><br><br>NO\_DATA\_SETTIME</p>                     |                                                                      |
| <p><br><br>NO\_DATA\_DIGITAL\_VAL</p>                |                                                                      |
| <p><br><br>NO\_DATA\_ANALOG\_VAL</p>                 |                                                                      |
| <p><br><br>RESULT\_NO\_DATA\_DIGITAL\_INPUT</p>      |                                                                      |
| <p><br><br>RESULT\_NO\_DATA\_ANALOG\_INPUT</p>       |                                                                      |
| <p><br><br>RESULT\_NO\_DATA\_ANALOG\_OUTPUT</p>      |                                                                      |
| <p><br><br>RESULT\_NO\_DATA\_DIGITAL\_OUTPUT</p>     |                                                                      |
| <p><br><br>RESULT\_PARSE\_ERROR\_ANALOG\_INPUT</p>   | Error while parsing the response                                     |
| <p><br><br>RESULT\_PARSE\_ERROR\_ANALOG\_OUTPUT</p>  | Error while parsing the response                                     |
| <p><br><br>RESULT\_PARSE\_ERROR\_DIGITAL\_INPUT</p>  | Error while parsing the response                                     |
| <p><br><br>RESULT\_PARSE\_ERROR\_DIGITAL\_OUTPUT</p> | Error while parsing the response                                     |
| <p><br><br>TOKEN\_ERROR</p>                          |                                                                      |
| <p><br><br>LOGIN\_WRITE\_ERROR</p>                   | Write error                                                          |
| <p><br><br>LOGIN\_PASSWORD\_ERROR</p>                | Password error                                                       |
| <p><br><br>LOGIN\_NO\_RESPONSE</p>                   | Response from the adapter                                            |
| <p><br><br>LOGIN\_ERROR\_404</p>                     | Adapter web service not available                                    |
| <p><br><br>LOGIN\_INVALID\_PASSSWORD</p>             | Invalid login password                                               |
| <p><br><br>LOGIN\_INVALID\_TOKEN</p>                 | Invalid login token                                                  |
| <p><br><br>PARA\_WRITE\_ERROR</p>                    | Parameter write error                                                |
| <p><br><br>PARA\_PASSWORD\_ERROR</p>                 | Parameter password error                                             |
| <p><br><br>PARA\_NO\_RESPONSE</p>                    | No response from the adapter                                         |
| <p><br><br>PARA\_ERROR\_404</p>                      | Adapter web service not available                                    |
| <p><br><br>PARA\_INVALID</p>                         | Invalid parameter                                                    |
| <p><br><br>PARA\_INVALID\_TOKEN</p>                  | Invalid token                                                        |


---

# 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://support.powerio.com/hub/codesys-hvac/en/poweriohw-hardware-library/datentypen/enumerationen/error.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.
