1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00
Files
OpenIntegrations/docs/en/md/TCP/Client-methods/Get-last-error.mdx

35 lines
561 B
Plaintext
Raw Normal View History

2025-03-22 11:54:15 +03:00
---
sidebar_position: 8
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Get last error
Gets information about the last error in the connection
`Function GetLastError(Val Connection) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Connection | --tcp | Arbitrary | ✔ | Connection, see. CreateConnection |
Returns: Map Of KeyAndValue, Undefined - Error information or undefined if there is no error
<br/>
```bsl title="1C:Enterprise/OneScript code example"
```