textual-engine icon indicating copy to clipboard operation
textual-engine copied to clipboard

fire an event when a path fails to load

Open ssube opened this issue 4 years ago • 0 comments
trafficstars

The loaders do not give any information when a path fails to load, which can lead to the interface hanging, or an uncaught error being printed over the game output. Wrap validation errors and catch any others, ensuring the every load-path event is followed by a success or error event.

This should use some friendly formatting for Ajv errors, which can potentially be localized. Validation errors while loading config should use the same formatting.

ssube avatar Jul 03 '21 23:07 ssube