Skip to main content

oximo_io/
error.rs

1use thiserror::Error;
2
3#[derive(Debug, Error)]
4pub enum IoError {
5    #[error("model has no objective")]
6    NoObjective,
7    #[error("nonlinear nodes are not representable in this format")]
8    Nonlinear,
9    #[error("io: {0}")]
10    Io(#[from] std::io::Error),
11}