async def METHOD_NAME(
    request: Request,
    exc: RequestValidationError,
) -> Response:
    """Wrapper around 422 validation errors to print out info for devs."""
    log(f"Validation error on {request.url}", Ansi.LRED)
    pprint.pprint(exc.errors())
    return ORJSONResponse(
        content={"detail": jsonable_encoder(exc.errors())},
        status_code=status.HTTP_422_UNPROCESSABLE_ENTITY,
    )