Exception: Portage::Ucp::InvalidPaymentEnrollmentError

Inherits:
Error
  • Object
show all
Defined in:
lib/portage/ucp/errors.rb

Overview

Raised by PaymentEnrollmentGuard.validate! (design-log §33/Phase B) when an Adapter's create_payment_enrollment/get_payment_enrollment result doesn't hold the shape PaymentEnrollment itself never enforces — value_objects.rb has no validation of any kind, same raise-free posture as every other Data.define there, so this is the guard's own error, not value_objects.rb's.