Exception: Upi::ValidationError
- Defined in:
- lib/upi.rb,
sig/upi/generator.rbs
Overview
Raised when the supplied payment details cannot produce a spec-compliant UPI URI.
Failing loudly at generation time is deliberate: an invalid UPI URI still produces a perfectly scannable QR code, so the only symptom is a payment that fails in the payer's app, long after the QR was handed out.