yowl 0.1.0

Primitives for reading and writing the SMILES language
Documentation
1
2
3
4
5
6
7
8
9
10
use thiserror::Error;

/// An error that occurs when reading a SMILES string.
#[derive(Debug, PartialEq, Eq, Error)]
pub enum ReadError {
    #[error("Unexpected end of input")]
    EndOfLine,
    #[error("Unexpected character: {0}")]
    Character(usize),
}