Fixes T8937. Previously when running arc patch D9999999999 or arc export --revision 99999999 with a non-existent diff or revision ID you would get a rather unhelpful error message. Now you'll get a slightly more helpful error message:
$ arc patch D99999999 Exception Couldn't find a revision or diff that matches the given ID (Run with `--trace` for a full exception trace.)