Class AsyncErrorDetails

    • Method Detail

      • code

        public final String code()

        A string that uniquely identifies the error condition.

        Returns:
        A string that uniquely identifies the error condition.
      • message

        public final String message()

        A generic description of the error condition in English.

        Returns:
        A generic description of the error condition in English.
      • resource

        public final String resource()

        The identifier of the resource associated with the error.

        Returns:
        The identifier of the resource associated with the error.
      • requestId

        public final String requestId()

        The ID of the request associated with the error.

        Returns:
        The ID of the request associated with the error.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)