Paypal.Common.Error (Paypal v0.1.1)
View SourceWhen something goes wrong, Paypal is replying us with an error message and this is the struct for retrieving this kind of errors.
Summary
Types
@type t() :: %Paypal.Common.Error{ debug_id: String.t() | nil, details: [Paypal.Common.Error.Details.t()], links: [Paypal.Common.Link.t()], message: String.t() | nil, name: String.t() | nil }
The information given by Paypal for each error is as follows:
debug_idis the ID for debugging the error.detailsis a list of details about the errors.linksis the list of links (HATEOAS).messageis the error message to try to understand why it failed.nameis the error name.