Class ErrorResponseException.SchemaError

  • Enclosing class:
    ErrorResponseException

    public static class ErrorResponseException.SchemaError
    extends 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 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