Enum ErrorTargetCode

java.lang.Object
java.lang.Enum<ErrorTargetCode>
net.avalara.avatax.rest.client.enums.ErrorTargetCode
All Implemented Interfaces:
Serializable, Comparable<ErrorTargetCode>, java.lang.constant.Constable

public enum ErrorTargetCode extends Enum<ErrorTargetCode>
What object experienced the error?
  • Enum Constant Details

    • Unknown

      public static final ErrorTargetCode Unknown
      Error target is unknown
    • HttpRequest

      public static final ErrorTargetCode HttpRequest
      There was an error in the request URL, querystring, or body
    • HttpRequestHeaders

      public static final ErrorTargetCode HttpRequestHeaders
      There was an error in the HTTP Request headers
    • IncorrectData

      public static final ErrorTargetCode IncorrectData
      Some data provided by the user was incorrect
    • AvaTaxApiServer

      public static final ErrorTargetCode AvaTaxApiServer
      There was an error in the AvaTax API Server
    • AvalaraIdentityServer

      public static final ErrorTargetCode AvalaraIdentityServer
      There was an error in the Avalara Identity Server
    • CustomerAccountSetup

      public static final ErrorTargetCode CustomerAccountSetup
      The customer's account setup does not permit certain actions
  • Method Details

    • values

      public static ErrorTargetCode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ErrorTargetCode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • valueOf

      public static ErrorTargetCode valueOf(int intValue)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      intValue - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()