invenia / JLSO.jl

Julia Serialized Object (JLSO) file format for storing checkpoint data.
MIT License
90 stars 5 forks source link

Error message about JLSO file format could be clearer #90

Open raphaelsaavedra opened 3 years ago

raphaelsaavedra commented 3 years ago
[error | JLSO]: ArgumentError: Unsupported version (4.0.0). Expected a value between (1-3).
ERROR: ArgumentError: Unsupported version (4.0.0). Expected a value between (1-3).

Because it follows the same format as packages, 4.0.0 might give the wrong impression that the error is about some version conflict of a package that is at v4.0.0. Explicitly saying that this is a JLSO file format error would be helpful.