Builtin Library
README.md
diagnostics.errors
Report component and entity errors in the current scene. With no argument it returns errors for every entity; given an entity name or id it returns errors for just that entity. Read-only — it inspects state without changing anything.