SatisfactorySaveEditor icon indicating copy to clipboard operation
SatisfactorySaveEditor copied to clipboard

Add proper error handling

Open Goz3rr opened this issue 6 years ago • 1 comments

The parser should propagate errors upwards and the UI should handle them gracefully, giving users something to report

Goz3rr avatar Apr 01 '19 10:04 Goz3rr

I have added an UnknownSaveVersionException and UnknownBuildVersionException which can be thrown when loading a save of a too new/old version that the parser doesn't understand.

In addition there also a FatalSaveException which is thrown when an unrecoverable error happens, either because of a corrupt save or programmer error.

Goz3rr avatar Apr 05 '19 06:04 Goz3rr