mod cpu_profile;
mod heap_profile;
pub use cpu_profile::*;
pub use heap_profile::*;
use thiserror::Error;
#[derive(Debug, Error)]
pub enum ParseError {
#[error("Failed to parse JSON: {0}")]
Json(#[from] serde_json::Error),
#[error("Failed to read file: {0}")]
Io(#[from] std::io::Error),
#[error("Invalid profile format: {0}")]
InvalidFormat(String),
}