use thiserror::Error;
pub type Result<T> = std::result::Result<T, Error>;
#[derive(Debug, Error)]
pub enum Error {
#[error("failed to bind to address: {0}")]
Bind(#[from] std::io::Error),
#[error("invalid SOAP action: {0}")]
InvalidAction(String),
#[error("server is not running")]
ServerNotRunning,
}