Function validate_limit

Source
fn validate_limit(
    limit: Result<usize, RequestError>,
) -> Result<NonZeroUsize, InvalidLimit>