iriq 0.29.1

IRI extraction, normalization, and clustering — peer of the Ruby gem + Go module.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use thiserror::Error;

#[derive(Debug, Clone, Error)]
#[error("iriq: parse error: {0}")]
pub struct ParseError(pub String);

impl ParseError {
    pub fn new(msg: impl Into<String>) -> Self {
        ParseError(msg.into())
    }
}