Piston icon indicating copy to clipboard operation
Piston copied to clipboard

Error handling should use a Component message if possible

Open octylFractal opened this issue 1 year ago • 0 comments

Right now our CommandException can take in rich Components, but things like UsageException embed server-side translations in them. We should have an interface to extract a Component from an exception, e.g. with WorldEdit it also has exceptions with Components, so these are kept through everything.

octylFractal avatar May 09 '24 19:05 octylFractal