MCPcopy Create free account
hub / github.com/cocos/cocos-engine / errorID

Function errorID

cocos/core/platform/debug.ts:290–292  ·  view source on GitHub ↗
(id: number, ...optionalParams: StringSubstitution[])

Source from the content-addressed store, hash-verified

288
289const errorFormatter = getTypedFormatter('Error');
290export function errorID (id: number, ...optionalParams: StringSubstitution[]): void {
291 error(errorFormatter(id, ...optionalParams));
292}
293
294const assertFormatter = getTypedFormatter('Assert');
295export function assertID (condition: boolean, id: number, ...optionalParams: StringSubstitution[]): void {

Callers 15

failMethod · 0.90
setRenderPipelineMethod · 0.90
loadSceneMethod · 0.90
initMethod · 0.90
_setRenderPipelineMethod · 0.90
createQuadIndicesMethod · 0.90
createQuadIndicesMethod · 0.90
updateUVsMethod · 0.90
updateVertexDataMethod · 0.90
spriteFrameMethod · 0.90
allocateChunkMethod · 0.90
checkRectMethod · 0.90

Calls 1

errorFunction · 0.70

Tested by

no test coverage detected