Modified opError for better output.