planus_translation/
error.rs

1bitflags::bitflags! {
2    #[derive(Copy, Clone, Default, PartialEq, Eq)]
3    pub struct ErrorKind: u32 {
4        const DECLARATION_PARSE_ERROR = 0x1;
5        const UNKNOWN_IDENTIFIER = 0x2;
6        const TYPE_ERROR = 0x4;
7        const NUMERICAL_RANGE_ERROR = 0x8;
8        const NUMERICAL_PARSE_ERROR = 0x10;
9        const MISC_SEMANTIC_ERROR = 0x20;
10        const TYPE_DEFINED_TWICE = 0x40;
11        const FIELD_DEFINED_TWICE = 0x80;
12        const FILE_ORDER = 0x100;
13        const NOT_SUPPORTED = 0x200;
14    }
15}