#![forbid(unsafe_code)]
#![warn(missing_docs)]

//! Core types and error handling for provctl service management.
//!
//! This crate provides the foundational types for the provctl service control system,
//! including error types, service definitions, and process status information.
//!
//! # Examples
//!
//! ```ignore
//! use provctl_core::{ServiceName, ProcessStatus, ProvctlResult};
//!
//! let name = ServiceName::new("syntaxis-api")?;
//! let status = ProcessStatus::Running { pid: 1234 };
//! ```

/// Error types and result handling.
pub mod error;

/// Core domain types for service management.
pub mod types;

pub use error::{ProvctlError, ProvctlErrorKind, ProvctlResult};
pub use types::{ProcessStatus, ServiceDefinition, ServiceName};
