remove assertError class