package com.betriebsratkanzlei.legalconsenthub.error

import com.betriebsratkanzlei.legalconsenthub_api.model.ApplicationFormStatus
import java.util.UUID

class ApplicationFormInvalidStateException(
    val applicationFormId: UUID,
    val currentState: ApplicationFormStatus,
    val expectedState: ApplicationFormStatus,
    val operation: String
) : RuntimeException("Cannot $operation application form with ID $applicationFormId. Current state: $currentState, expected state: $expectedState") 