Add error reporting features