pub fn ErrorFailedDependency<T>(err: T) -> Errorwhere T: 'static + Send + Sync + Debug + Display,
Helper function that creates wrapper of any error and generate FAILED DEPENDENCY response.