Skip to content

Commit 126057f

Browse files
authored
Merge pull request #658 from Travelport-Ukraine/master
1.17.0 Release
2 parents 63d8d5c + dd561cf commit 126057f

File tree

5 files changed

+868
-670
lines changed

5 files changed

+868
-670
lines changed

docs/Terminal.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,21 @@ for several PCC emulations.
2121
See [advanced emulation example](../examples/Terminal/emulation.js) to get an example
2222
on how to use emulation.
2323

24+
# uAPI error handling
25+
26+
In case you want to handle some specific errors from uAPI, you can provde `uapiErrorHandler` function
27+
in options.
28+
29+
Footprint of the functions should be as follows:
30+
```javascript
31+
async (
32+
executeCommandWithRetry,
33+
{ command, error: err }
34+
) => {
35+
// your code goes here
36+
}
37+
```
38+
2439
# Session closing
2540
Be aware to close the session after all your manipulations with the terminal.
2641

0 commit comments

Comments
 (0)