MCPcopy Create free account
hub / github.com/modelcontextprotocol/inspector / notifyError

Function notifyError

client/src/components/OAuthCallback.tsx:27–32  ·  view source on GitHub ↗
(description: string)

Source from the content-addressed store, hash-verified

25 hasProcessedRef.current = true;
26
27 const notifyError = (description: string) =>
28 void toast({
29 title: "OAuth Authorization Error",
30 description,
31 variant: "destructive",
32 });
33
34 const params = parseOAuthCallbackParams(window.location.search);
35 if (!params.successful) {

Callers 1

handleCallbackFunction · 0.85

Calls 1

toastFunction · 0.85

Tested by

no test coverage detected