From d3871c1d23910738299c8c7c23855796d7ad04ab Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 23 Feb 2018 02:11:35 +0100 Subject: [PATCH] #60 ranges support --- src/error.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/error.rs b/src/error.rs index f9bbca241..084249217 100644 --- a/src/error.rs +++ b/src/error.rs @@ -627,12 +627,6 @@ pub fn ErrorPreconditionFailed(err: T) -> InternalError { InternalError::new(err, StatusCode::PRECONDITION_FAILED) } -/// Helper function that creates wrapper of any error and generate *RANGE NOT SATISFIABLE* response. -#[allow(non_snake_case)] -pub fn ErrorRangeNotSatisfiable(err: T) -> InternalError { - InternalError::new(err, StatusCode::RANGE_NOT_SATISFIABLE) -} - /// Helper function that creates wrapper of any error and generate *EXPECTATION FAILED* response. #[allow(non_snake_case)] pub fn ErrorExpectationFailed(err: T) -> InternalError {