Check for errors directly instead of with isError