Exceptions
Understand the different exceptions the Economy SDK throws when errors occur.
Read time 1 minuteLast updated a day ago
Economy exception
AnEconomyExceptionEconomyExceptionException- : An
Reasonis an enum value that describes what category of issue occurred. This is provided to allow a code-friendly way of detecting and handling the different types of errors that can be thrown.EconomyExceptionReason
MessageEconomyExceptionEconomy validation exception
EconomyValidationExceptionEconomyExceptionEconomyValidationException- : This is a list of errors returned from the API's Validation Error Response. It is a list of economy validation error details.
Details
Economy validation error detail
AnEconomyValidationErrorDetail- : The field in the data that caused the error. This is a string.
Field - : Messages that describe the errors. This is a list of strings.
Messages
Economy rate limited exception
EconomyRateLimitedExceptionEconomyException- : The number of seconds until the client is no longer rate limited. This is an int.
RetryAfter