lnmp-spatial 0.5.16

Spatial awareness types and logic for LNMP protocol
1
2
3
4
5
6
7
8
9
10
11
use thiserror::Error;

#[derive(Error, Debug)]
pub enum SpatialError {
    #[error("Decode error: {0}")]
    DecodeError(String),
    #[error("Validation error: {0}")]
    ValidationError(String),
    #[error("Unknown spatial type: {0}")]
    UnknownType(u8),
}