Class EffectResponse.Error

Enclosing class:
EffectResponse

public static final class EffectResponse.Error extends EffectResponse
Represents an error response, which means that the requested change is impossible.
See Also:
  • Constructor Details

  • Method Details

    • getError

      @NotNull public I18nText getError()
      Description copied from class: EffectResponse
      Describes why this effect cannot be applied, e.g. "Issue does not exist or you have no permission to see it." Returns null for valid and empty responses.
      Overrides:
      getError in class EffectResponse
    • isError

      public boolean isError()
      Description copied from class: EffectResponse
      Returns whether this response is an error, which means this change cannot be applied.
      Overrides:
      isError in class EffectResponse
      See Also: