MCPcopy Create free account
hub / github.com/codeaashu/claude-code / getDerivedStateFromError

Method getDerivedStateFromError

src/ink/components/App.tsx:103–107  ·  view source on GitHub ↗
(error: Error)

Source from the content-addressed store, hash-verified

101export default class App extends PureComponent<Props, State> {
102 static displayName = 'InternalApp';
103 static getDerivedStateFromError(error: Error) {
104 return {
105 error
106 };
107 }
108 override state = {
109 error: undefined
110 };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected