Class ExceptionDetail

java.lang.Object
com.eqixiac.equinix.core.exception.ExceptionDetail
All Implemented Interfaces:
Serializable

public final class ExceptionDetail extends Object implements Serializable
One structured error entry parsed from an Equinix API error response body, normalised across the error formats the different Equinix services use (see ResponseErrorMapper for the formats and how each maps onto these fields). Every field is optional: a service fills only what its format carries. Immutable and Serializable, because it is carried by the (serializable) EquinixServiceException family.
Author:
ianjones
See Also:
  • Method Details

    • toSummaryLine

      public String toSummaryLine()
      Renders this detail as one line, code first: EQ-3142501: Invalid seller metroCode location (field: /zSide/accessPoint/location/metroCode).
      Returns:
      the one-line rendering; empty when the detail carries nothing
    • toString

      public String toString()
      Overrides:
      toString in class Object