Make disableDefaultExceptionMapperRegistration public in StandardExceptionMappers #483
Labels
enhancement
A request for change or improvement to an existing feature
Milestone
The
disableDefaultExceptionMapperRegistration
method has been around for many years, but is private. To provide more flexibility to applications which might want to disable Dropwizard's default exception mappers programmatically instead of static, repetitive YAML configuration, make this method public.This will allow applications to easily disable Dropwizard's default exception mappers, and then register only the exception mappers they want instead of getting the opinionated set of them that the
StandardExceptionMappers#register
methods provide.The text was updated successfully, but these errors were encountered: