pub fn query_error(error: &str, bin: StdResult<Binary>) -> QuerierResult {
    SystemResult::Err(SystemError::InvalidRequest {
        error: String::from(error),
        request: bin.unwrap(),
    })
}
// Helper for returning mock query error cases.
Helper for returning mock query error cases.
Helper for returning mock query error cases .
pub fn query_error(error: &str, bin: StdResult<Binary>) -> QuerierResult {
    SystemResult::Err(SystemError::InvalidRequest {
        error: String::from(error),
        request: bin.unwrap(),
    })
}
pub fn query_error ( error : & str , bin : StdResult < Binary > ) -> QuerierResult { SystemResult :: Err ( SystemError :: InvalidRequest { error : String :: from ( error ) , request : bin . unwrap ( ) , } ) }
Helper for returning mock query error cases.
Helper for returning mock query error cases .
error
&str
bin
StdResult<Binary>
error
&str
bin
StdResult<Binary>