Class AutoMergeSettingNotEnabledException

All Implemented Interfaces:
Serializable

public class AutoMergeSettingNotEnabledException extends ForbiddenException
An exception thrown when auto-merge is attempted or requested on a pull request, but the pull request's target repository does not have auto-merge enabled.
Since:
8.15
See Also:
  • Constructor Details

    • AutoMergeSettingNotEnabledException

      public AutoMergeSettingNotEnabledException(@Nonnull KeyedMessage message, @Nonnull PullRequest pullRequest)
  • Method Details

    • getPullRequest

      @Nonnull public PullRequest getPullRequest()