ArcanePlugins / Treasury

🏦 A powerful multi-platform library for next-level plugin integrations.
https://hangar.papermc.io/ArcanePlugins/Treasury
Other
55 stars 14 forks source link

Add abstract TreasuryException#getMessage(Locale) method #269

Closed lokka30 closed 1 year ago

lokka30 commented 1 year ago

Unfortunately FailureReason was difficult to standardise with so many different use cases.

Potentially treasury exceptions could have a method which gets the failure message with a locale argument? i.e., abstract String getMessage(Locale).

Originally posted by @lokka30 in https://github.com/ArcanePlugins/Treasury/issues/256#issuecomment-1492914971

Approvals: