misty-parser 0.0.3

Parser code required by the Misty Compiler
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/// Validation specific errors.
#[derive(Debug, thiserror::Error)]
pub enum ValidationError {
    #[error("An imported module was not found in the workspace")]
    ImportedModuleNotFound,

    #[error("The module import path is invalid")]
    ModuleImportPath,

    #[error("A required module was not imported")]
    ModuleNotImported,

    #[error("A required imported type was not found in the target module")]
    TypeNotFound,
}