Looks like a good place to use the new `Throwable error = Tasks.getError(this)`.
And if we want the "shouldn't happen" check then that simplifies to `if (error == null) error = new IllegalStateException(...)`