Update `isError` documentation