parst 0.2.0

declarative parsing
Documentation
1
2
3
4
5
6
7
8
9
10
11
use thiserror::Error;

#[derive(Debug, Error)]
pub enum Error {
	#[error("invalid input")]
	InvalidInput,
	#[error("not enough bytes")]
	NotEnoughBytes,
	#[error("assertion failed")]
	AssertionFailed,
}