Class ErrorResponseException.SchemaError

  • Enclosing class:
    ErrorResponseException

    public static class ErrorResponseException.SchemaError
    extends java.lang.Object
    Schema error which supplies more context to a ErrorResponse.
    This provides a list of ErrorCodes and a location for the errors.
    • Method Detail

      • getLocation

        @Nonnull
        public java.lang.String getLocation()
        The JSON-path for the error.
        This path describes the location of the error, within the request json body.

        Example: embed.fields[3].name

        Returns:
        The JSON-path location
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object