(error)
| 734 | } |
| 735 | |
| 736 | function objError(error) { |
| 737 | if (error instanceof Error || typeof error === 'string') { |
| 738 | error = {message: error.message || String(error)}; |
| 739 | } |
| 740 | return error; |
| 741 | } |
| 742 | |
| 743 | function checkConnection() { |
| 744 | if (!connected) { |
no outgoing calls
no test coverage detected