Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MrNothing/AI-Blocks
/ componentDidCatch
Method
componentDidCatch
Sources/src/Model/UI/Scene.js:22–27 ·
view source on GitHub ↗
(error, info)
Source
from the content-addressed store, hash-verified
20
}
21
22
componentDidCatch(error, info) {
23
// Display fallback UI
24
this.setState({ hasError: true });
25
// You can also log the error to an error reporting service
26
window.service.log(error, info, 2);
27
}
28
29
update()
30
{
Callers
nothing calls this directly
Calls
1
log
Method · 0.80
Tested by
no test coverage detected