MCPcopy
hub / github.com/slackapi/node-slack-sdk / sendWhileNotReadyError

Function sendWhileNotReadyError

packages/rtm-api/src/errors.ts:109–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107 * A factory to create RTMSendWhileNotReadyError objects.
108 */
109export function sendWhileNotReadyError(): RTMSendWhileNotReadyError {
110 return errorWithCode(
111 new Error('Cannot send message when client is not ready'),
112 ErrorCode.NoReplyReceivedError,
113 ) as RTMSendWhileNotReadyError;
114}

Callers 1

sendMethod · 0.90

Calls 1

errorWithCodeFunction · 0.70

Tested by

no test coverage detected