Using the app error function is not enough to break the build at the
point where the error occurs. Throw an exception with an error message
explaining the problem.
Related-Bug: 1707246
Change-Id: Ie836b7a6f3ea7cba1737913b944f36c77f14cfd0
Signed-off-by: Doug Hellmann <doug@doughellmann.com>