Detect runtime error.