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.
Right now our
CommandExceptioncan take in rich Components, but things likeUsageExceptionembed 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.