PlanException
Sealed class representing exceptions related to plans.
Inheritors
Types
Link copied to clipboard
data class InvalidChainedRequestException(val message: String = "Chained requests cannot be recurring") : PlanException
Exception thrown when a chained request is invalid.
Link copied to clipboard
data class PlanNotFoundException(id: UUID, val message: String = "Plan not found --- ") : PlanException
Exception thrown when a plan is not found.
Link copied to clipboard
data class RecursiveDepthExceededException(passed: Int, allowed: Int, val message: String = "Depth exceeded for chained request --- passed: ") : PlanException
Exception thrown when the recursive depth for a chained request exceeds the allowed limit.
Link copied to clipboard
data class UnknownPlanStatusException(planStatusId: Int, val message: String = "Unknown Plan Status ID --- ") : PlanException
Exception thrown when an unknown plan status is encountered.
Link copied to clipboard
data class UnknownPlanTypeException(planTypeId: Int, val message: String = "Unknown Plan Type ID --- ") : PlanException
Exception thrown when an unknown plan type is encountered.