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

Function getErrorStack

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

Source from the content-addressed store, hash-verified

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

Callers 1

ErrorBoundaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected