mikros 0.3.0

An optionated crate to help building multi-purpose applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
// Module internal errors
crate::module_errors!(
    Error{
        InvalidDefinitions(e: String) => "invalid service definitions: {}",
        DefinitionFileNotFound(e: String) => "definition file not found: {}",
        CouldNotLoadFile(e: String) => "could not load definitions file: {}",
        MalformedToml(e: String) => "malformed toml definitions: {}",
        ServiceNotFound(s: String) => "service definitions not found: {}",
        EmptyServiceType => "no service type was defined for service"
    }
);