Skip to content

Error type narrowing

Derrick Liu requested to merge error-type-narrowing into dev

This PR cleans up some error type naming and standardizes parameters for the parameter_invalid error code to the Pydantic error format (https://pydantic-docs.helpmanual.io/usage/models/#error-handling). These changes will allow consumers that pattern match on the error_code to expect a consistent usage of the param field for applying towards form fields and the like.

Merge request reports