add AssertionError class so that we can differentiate from other errors