Encore now has great built-in support for API errors. Features include:
All of this is made possible using the encore.dev/beta/errs package. Read all about it in the Encore docs!
encore.dev/beta/errs