pub fn internal_logic_error<S>(desc: S) -> InternalError where
    S: Into<Cow<'static, str>>,