pub fn ErrorBadRequest<T>(err: T) -> Errorwhere T: Debug + Display + 'static,
Helper function that wraps any error and generates a BAD_REQUEST response.
BAD_REQUEST