api/src/main/java/com/tersesystems/echopraxia/api/FieldBuilderWithOnly.java
/**
   * Creates a singleton list of an exception value using an explicit name.
   *
   * @param name the name of the field.
   * @param value the value of the field.
   * @return a list containing a single field.
   */
Creates a singleton list of an exception value using an explicit name.
@param name the name of the field.
@param value the value of the field.
@return a list containing a single field.
Creates a singleton list of an exception value using an explicit name . @param name the name of the field . @param value the value of the field . @return a list containing a single field .
@NotNull
  default FieldBuilderResult onlyException(
      @NotNull String name, @NotNull Value.ExceptionValue value) {
    return only(exception(name, value));
  }
@ NotNull default FieldBuilderResult onlyException ( @ NotNull String name , @ NotNull Value . ExceptionValue value ) { return only ( exception ( name , value ) ) ; }
Creates a singleton list of an exception value using an explicit name.
Creates a singleton list of an exception value using an explicit name .