[BEP-884] Introduce VerificationFailedException to allow better error handling in clients.