Class AdyenErrors

java.lang.Object
org.machanism.macha.core.entities.payment.Errors
org.machanism.macha.core.adapters.adyen.payment.model.AdyenErrors

public class AdyenErrors extends org.machanism.macha.core.entities.payment.Errors
The AdyenErrors class extends the Errors class to handle validation errors from Adyen's API.

This class parses exceptions, specifically ApiException instances, to extract meaningful validation errors like error codes and messages and wraps them in ValidationError objects. For other exceptions, a general error is created.