Files
teleport/web/packages/shared/utils
Grzegorz Zdunek 4d28408cce Ensure all errors thrown by TdpClient are instances of Error class (#54877)
* Add a utility function to convert any input to an Error instance

* Add types for TdpClient events

* Always throw Error from `adaptWebSocketToTdpTransport`

* Improve getting the error message in `getErrMessage`

* Move `isAbortError` to error.ts

* Remove unused `tshd/errors.ts`

* Handle `JSON.stringify` error, add `cause` to thrown errors

* Remove unnecessary `async`

* Remove `error.toString` from the callsites

* Handle `err` being undefined
2025-05-22 08:19:31 +00:00
..
…
…
2025-05-09 14:05:15 +00:00