Return error when detected