print what when wrong in case of errors