quilt-loader icon indicating copy to clipboard operation
quilt-loader copied to clipboard

Sketching how error output should look like

Open LambdAurora opened this issue 2 years ago • 0 comments

Here's some thoughts on how error output should look like, so it is easily readable by anyone, and less confusing. Error output that will be read by users, especially if it's a dedicated dialog box, should be clear, written fully in English, and avoid any confusion. Keep stacktraces and technical information to logs.

Simple missing dependency

Mod A depends on any version of mod B, but mod B cannot be found, please install it.

Mod C depends on mod D version 1.5 and up, but only mod D version 1.3 could be found, please update it.

Jar In Jar case

Mod B, included in mod A, depends on Mod C versions 1.17.x, but mod C could not be found, please install it.

Mod B, included in mod A, cannot be loaded with mod D version up to 1.5, and mod D version 1.4.6 is present, please either:

  • install a new version of mod B that is compatible with mod D version 1.4.6;
  • or remove mod D and its dependent mods

Breakage

Mod A cannot be loaded alongside any version of mod B, and mod B version 1.6 is present, please either:

  • install a new version of mod A that is compatible with mod B version 1.6;
  • or remove mod B and its dependent mods

Version pretty printing:

* -> any version of mod >=1.17 -> version 1.17 and up <=1.17 -> up to version 1.17 1.17.x -> versions 1.17.x 1.17 -> version 1.17

LambdAurora avatar Dec 23 '21 19:12 LambdAurora