@Override
    public boolean equals(@Nullable Object o) {
        if (this == o) {
            return true;
        }

        if (!(o instanceof ExceptionInfo)) {
            return false;
        }

        final ExceptionInfo that = (ExceptionInfo) o;
        return name.equals(that.name) &&
               fields.equals(that.fields) &&
               descriptionInfo.equals(that.descriptionInfo);
    }
Returns a new {@link ExceptionInfo} with the specified {@link DescriptionInfo}.
Returns {@code this} if this {@link ExceptionInfo} has the same {@link DescriptionInfo}.
core/src/main/java/com/linecorp/armeria/server/docs/ExceptionInfo.java