Is there an error code that could be checked instead?