Function cosworth::prelude::ErrorUnavailableForLegalReasons
source · pub fn ErrorUnavailableForLegalReasons<T>(err: T) -> Errorwhere
T: 'static + Send + Sync + Debug + Display,
Expand description
Helper function that creates wrapper of any error and generate UNAVAILABLE FOR LEGAL REASONS response.