use thiserror::Error;
#[derive(Debug, Error)]
pub enum CopcError {
#[error("Invalid format: {0}")]
InvalidFormat(String),
#[error("Unsupported LAS version: {0}.{1}")]
UnsupportedVersion(u8, u8),
#[error("IO error: {0}")]
Io(#[from] std::io::Error),
}