Skip to content

Commit

Permalink
Merge pull request #658 from Travelport-Ukraine/master
Browse files Browse the repository at this point in the history
1.17.0 Release
  • Loading branch information
dchertousov authored Jun 28, 2024
2 parents 63d8d5c + dd561cf commit 126057f
Show file tree
Hide file tree
Showing 5 changed files with 868 additions and 670 deletions.
15 changes: 15 additions & 0 deletions docs/Terminal.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,21 @@ for several PCC emulations.
See [advanced emulation example](../examples/Terminal/emulation.js) to get an example
on how to use emulation.

# uAPI error handling

In case you want to handle some specific errors from uAPI, you can provde `uapiErrorHandler` function
in options.

Footprint of the functions should be as follows:
```javascript
async (
executeCommandWithRetry,
{ command, error: err }
) => {
// your code goes here
}
```

# Session closing
Be aware to close the session after all your manipulations with the terminal.

Expand Down
Loading

0 comments on commit 126057f

Please sign in to comment.