All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ftl.builtin.CatchRequest Maven / Gradle / Ivy

There is a newer version: 0.376.1
Show newest version
package ftl.builtin;

import java.lang.String;
import org.jetbrains.annotations.NotNull;
import xyz.block.ftl.GeneratedRef;

@GeneratedRef(
    name = "CatchRequest",
    module = "builtin"
)
public class CatchRequest {
  private @NotNull Req request;

  private @NotNull String error;

  public CatchRequest() {
  }

  public CatchRequest(@NotNull String error, @NotNull Req request) {
    this.error = error;
    this.request = request;
  }

  public CatchRequest setRequest(@NotNull Req request) {
    this.request = request;
    return this;
  }

  public @NotNull Req getRequest() {
    return request;
  }

  public CatchRequest setError(@NotNull String error) {
    this.error = error;
    return this;
  }

  public @NotNull String getError() {
    return error;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy