smart errors config