Class InternalErrorDetail<T extends ErrorDetail<T>>

    • Field Detail

      • DOCUMENTED_ERRORS

        private static final com.google.common.collect.ImmutableSet<ErrorId> DOCUMENTED_ERRORS
      • errorId

        protected final ErrorId errorId
    • Constructor Detail

      • InternalErrorDetail

        protected InternalErrorDetail​(ErrorId errorId,
                                      java.lang.String message,
                                      java.util.List<java.lang.Object> sources,
                                      java.lang.Throwable cause)
    • Method Detail

      • getLearnMoreLink

        protected final java.util.Optional<java.lang.String> getLearnMoreLink()
        Description copied from class: ErrorDetail
        Returns an optional link to additional documentation about this error to be included in the formatted error message.
        Overrides:
        getLearnMoreLink in class ErrorDetail<T extends ErrorDetail<T>>
      • getErrorIdentifier

        protected final java.util.Optional<java.lang.String> getErrorIdentifier()
        Description copied from class: ErrorDetail
        Returns an optional string identifier for this error.
        Overrides:
        getErrorIdentifier in class ErrorDetail<T extends ErrorDetail<T>>