Simple error tracking.