package de.fete.application.service.exception;

import java.util.UUID;

/** Thrown when attempting to cancel an event that is already cancelled. */
public class EventAlreadyCancelledException extends RuntimeException {

  /** Creates a new exception for the given event token. */
  public EventAlreadyCancelledException(UUID eventToken) {
    super("Event is already cancelled: " + eventToken);
  }
}
