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