Added base for error handling class.