What is a proper way to handle a uniqueness constraint?

Have there been any changes about this? I’m new to Hanami and couldn’t figure out a better way to handle this besides rescuing Hanami::Model::UniqueConstraintViolationError as mentioned here already. I couldn’t find much in the GitHub repo either.