print basic errors