stop("Invalid value for 'se'. Please use one of 'rob', 'normal', or 'bs'.")
}
# if (!all(c("apollo", "maxLik", "maxim") %in% class(model))) {
# stop("Invalid model class. The model must be of classes 'apollo', 'maxLik', and 'maxim'.")
# }
if(se=="bs"&&!"bootse"%in%names(model)){
stop(" It seems you did not do bootstrapping. Thus, I cannot report bootstrapped se. The 'model' object must contain an element named 'bootse' when 'se' is 'bs'.")