MCPcopy Create free account
hub / github.com/Noumena-Network/code / getTokenRevokedErrorMessage

Function getTokenRevokedErrorMessage

src/services/api/errors.ts:198–202  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

196 'Your account does not have access to Code. Please run /login.'
197
198export function getTokenRevokedErrorMessage(): string {
199 return getIsNonInteractiveSession()
200 ? 'Your account does not have access to NCode. Please login again or contact your administrator.'
201 : TOKEN_REVOKED_ERROR_MESSAGE
202}
203
204export function getOauthOrgNotAllowedErrorMessage(): string {
205 return getIsNonInteractiveSession()

Callers 1

Calls 1

Tested by

no test coverage detected