MCPcopy Create free account
hub / github.com/Kong/insomnia / getErrorStack

Function getErrorStack

packages/insomnia/src/root.tsx:128–134  ·  view source on GitHub ↗
(err: any)

Source from the content-addressed store, hash-verified

126 };
127
128 const getErrorStack = (err: any) => {
129 if ('error' in err) {
130 return err.error?.stack;
131 }
132
133 return err?.stack;
134 };
135
136 const errorMessage = getErrorMessage(error);
137 const logoutFetcher = useLogoutFetcher();

Callers 1

ErrorBoundaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected