MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / formatSaveError

Function formatSaveError

src/world/saver.ts:58–61  ·  view source on GitHub ↗
(result: SaveResult)

Source from the content-addressed store, hash-verified

56// Convenience: format a SaveResult's errors as a single human-readable string.
57// The editor uses this for status bar / dialog messages.
58export function formatSaveError(result: SaveResult): string {
59 if (result.ok) return '';
60 return formatValidationErrors(result.errors);
61}

Callers

nothing calls this directly

Calls 1

formatValidationErrorsFunction · 0.90

Tested by

no test coverage detected