pub fn ErrorMisdirectedRequest<T>(err: T) -> Error where T: Debug + Display + 'static,
Helper function that wraps any error and generates a MISDIRECTED_REQUEST response.
MISDIRECTED_REQUEST