Moved checkError() implementation to subclasses