Preparing search index...
The search index is not available
server
server
utils/axios
catchErrorAndSendMsg
Function catchErrorAndSendMsg
catchErrorAndSendMsg
(
promise
:
Promise
<
any
>
,
ws
:
WebSocket
)
:
void
This function catches the error of a promise and sends a message
Parameters
promise
:
Promise
<
any
>
ws
:
WebSocket
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
server
Loading...
This function catches the error of a promise and sends a message