1 2 3 4 5 6 7 8 9 10 11 12
// Copyright (c) 2026 Frumu LTD // Licensed under the Business Source License 1.1 use serde::Serialize; #[derive(Debug, Clone, Serialize)] #[serde(tag = "type", rename_all = "snake_case")] pub enum RoutineStoreError { InvalidRoutineId { routine_id: String }, InvalidSchedule { detail: String }, PersistFailed { message: String }, }