Provides struct and type for a PaymentError
@type t() :: %Polarex.PaymentError{detail: String.t(), error: String.t()}