pub fn err_default(error: Error, default: T) -> Detail<T> {
        Detail {
            value: Some(default),
            variation_index: None,
            reason: Reason::Error { error },
        }
    }
/// Returns a [Detail] response using the provided default as the value and a variation_index
/// of None.
///
/// If the SDK variation methods detect some error condition, it will fallback to the user provided
/// default value. The provided error will be included as part of the [Detail::reason], and the
/// [Detail::variation_index] will be set to None.
Returns a [Detail] response using the provided default as the value and a variation_index
of None.

If the SDK variation methods detect some error condition, it will fallback to the user provided
default value. The provided error will be included as part of the [Detail::reason], and the
[Detail::variation_index] will be set to None.
Returns a [ Detail ] response using the provided default as the value and a variation_index of None . If the SDK variation methods detect some error condition it will fallback to the user provided default value . The provided error will be included as part of the [ Detail :: reason ] and the [ Detail :: variation_index ] will be set to None .
pub fn err_default(error: Error, default: T) -> Detail<T> {
        Detail {
            value: Some(default),
            variation_index: None,
            reason: Reason::Error { error },
        }
    }
pub fn err_default ( error : Error , default : T ) -> Detail < T > { Detail { value : Some ( default ) , variation_index : None , reason : Reason :: Error { error } , } }
Returns a [Detail] response using the provided default as the value and a variation_index
of None.
Returns a [ Detail ] response using the provided default as the value and a variation_index of None .
error
Error
default
T
error
Error
default
T