export err checking functions