Click or drag to resize

GoCardlessErrorerror_type Class

The type of an error, depending on it's root cause.
Inheritance Hierarchy
SystemObject
  NetQuarry.Services.PaymentGoCardlessErrorerror_type

Namespace:  NetQuarry.Services.Payment
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public class error_type

The GoCardlessErrorerror_type type exposes the following members.

Constructors
  NameDescription
Public methodGoCardlessErrorerror_type
Initializes a new instance of the GoCardlessErrorerror_type class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic membergocardless
An internal error occurred while processing your request. This should be reported to GoCardless' support team with the id, so they can resolve the issue.
Public fieldStatic memberinvalid_api_usage
There was an error with the request you made. It could be an invalid URL, the authentication header could be missing, invalid, or grant insufficient permissions, you may have reached your rate limit, or the syntax of your request could be incorrect. The errors will give more detail of the specific issue. If it occurs, the development (of the application, not GoCardless) should be notified.
Public fieldStatic memberinvalid_state
The action you are trying to perform is invalid due to the state of the resource you are requesting it on. For example, a payment you are trying to cancel might already have been submitted. The errors will give more details. If it occurs, the end user should be notified but should not be allowed to retry the action.
Public fieldStatic membervalidation_failed
The parameters submitted with your request were invalid. Details of which fields were invalid and why are included in the response. The request_pointer parameter indicates the exact field of the request that triggered the validation error. If it occurs, the end user should be notified and prompted to correct input.
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Top
See Also