pub enum EvenframeError {
Show 52 variants
Io(Error),
ParseError {
file: PathBuf,
message: String,
},
SynParse(String),
Json(Error),
Toml(Error),
TomlSerialize(Error),
Database(Box<String>),
Config(String),
ConfigNotFound {
search_start: PathBuf,
},
InvalidPath {
path: PathBuf,
},
ModuleNotFound {
module: String,
},
TypeNotFound {
type_name: String,
},
FieldNotFound {
field: String,
type_name: String,
},
InvalidFieldType {
message: String,
},
Validation(String),
SchemaSync(String),
MockGeneration(String),
Plugin(String),
Permission(String),
WorkspaceScan(String),
MaxRecursionDepth {
depth: usize,
path: PathBuf,
},
InvalidAttribute(String),
DuplicateDefinition(String),
TypeConversion(String),
MissingField(String),
InvalidEnumVariant {
variant: String,
enum_name: String,
},
CircularDependency(String),
Template(String),
InvalidCoordinate(String),
EdgeDefinition(String),
TableDefinition(String),
FieldDefinition {
message: String,
work_stack: String,
value_stack: String,
item: String,
visited_types: String,
},
AccessControl(String),
QueryExecution(String),
InvalidValidator(String),
TypeSync(String),
EffectApplication(String),
Import(String),
Export(String),
Comparison(String),
Filter(String),
Log(String),
DependencyResolution(String),
InvalidConfigValue {
key: String,
value: String,
},
EnvVarNotSet(String),
Utf8(FromUtf8Error),
Regex(String),
Timeout {
seconds: u64,
},
Network(String),
Serialization(String),
Deserialization(String),
Unknown(String),
}Variants§
Io(Error)
ParseError
SynParse(String)
Json(Error)
Toml(Error)
TomlSerialize(Error)
Database(Box<String>)
Config(String)
ConfigNotFound
InvalidPath
ModuleNotFound
TypeNotFound
FieldNotFound
InvalidFieldType
Validation(String)
SchemaSync(String)
MockGeneration(String)
Plugin(String)
Permission(String)
WorkspaceScan(String)
MaxRecursionDepth
InvalidAttribute(String)
DuplicateDefinition(String)
TypeConversion(String)
MissingField(String)
InvalidEnumVariant
CircularDependency(String)
Template(String)
InvalidCoordinate(String)
EdgeDefinition(String)
TableDefinition(String)
FieldDefinition
AccessControl(String)
QueryExecution(String)
InvalidValidator(String)
TypeSync(String)
EffectApplication(String)
Import(String)
Export(String)
Comparison(String)
Filter(String)
Log(String)
DependencyResolution(String)
InvalidConfigValue
EnvVarNotSet(String)
Utf8(FromUtf8Error)
Regex(String)
Timeout
Network(String)
Serialization(String)
Deserialization(String)
Unknown(String)
Implementations§
Source§impl EvenframeError
impl EvenframeError
pub fn parse_error( file: impl Into<PathBuf>, message: impl Into<String>, ) -> EvenframeError
pub fn database(message: impl Into<String>) -> EvenframeError
pub fn config(message: impl Into<String>) -> EvenframeError
pub fn config_error(message: impl Into<String>) -> EvenframeError
pub fn validation(message: impl Into<String>) -> EvenframeError
pub fn schema_sync(message: impl Into<String>) -> EvenframeError
pub fn plugin(message: impl Into<String>) -> EvenframeError
pub fn mock_generation(message: impl Into<String>) -> EvenframeError
pub fn permission(message: impl Into<String>) -> EvenframeError
pub fn workspace_scan(message: impl Into<String>) -> EvenframeError
pub fn invalid_attribute(message: impl Into<String>) -> EvenframeError
pub fn duplicate_definition(message: impl Into<String>) -> EvenframeError
pub fn type_conversion(message: impl Into<String>) -> EvenframeError
pub fn missing_field(field: impl Into<String>) -> EvenframeError
pub fn circular_dependency(message: impl Into<String>) -> EvenframeError
pub fn template(message: impl Into<String>) -> EvenframeError
pub fn invalid_coordinate(message: impl Into<String>) -> EvenframeError
pub fn edge_definition(message: impl Into<String>) -> EvenframeError
pub fn table_definition(message: impl Into<String>) -> EvenframeError
pub fn access_control(message: impl Into<String>) -> EvenframeError
pub fn query_execution(message: impl Into<String>) -> EvenframeError
pub fn invalid_validator(message: impl Into<String>) -> EvenframeError
pub fn type_sync(message: impl Into<String>) -> EvenframeError
pub fn effect_application(message: impl Into<String>) -> EvenframeError
pub fn import(message: impl Into<String>) -> EvenframeError
pub fn export(message: impl Into<String>) -> EvenframeError
pub fn comparison(message: impl Into<String>) -> EvenframeError
pub fn filter(message: impl Into<String>) -> EvenframeError
pub fn log(message: impl Into<String>) -> EvenframeError
pub fn dependency_resolution(message: impl Into<String>) -> EvenframeError
pub fn serialization(message: impl Into<String>) -> EvenframeError
pub fn deserialization(message: impl Into<String>) -> EvenframeError
pub fn network(message: impl Into<String>) -> EvenframeError
pub fn unknown(message: impl Into<String>) -> EvenframeError
Trait Implementations§
Source§impl Debug for EvenframeError
impl Debug for EvenframeError
Source§impl Display for EvenframeError
impl Display for EvenframeError
Source§impl Error for EvenframeError
impl Error for EvenframeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<Error> for EvenframeError
impl From<Error> for EvenframeError
Source§fn from(source: Error) -> EvenframeError
fn from(source: Error) -> EvenframeError
Converts to this type from the input type.
Source§impl From<Error> for EvenframeError
impl From<Error> for EvenframeError
Source§fn from(source: Error) -> EvenframeError
fn from(source: Error) -> EvenframeError
Converts to this type from the input type.
Source§impl From<Error> for EvenframeError
impl From<Error> for EvenframeError
Source§fn from(source: Error) -> EvenframeError
fn from(source: Error) -> EvenframeError
Converts to this type from the input type.
Source§impl From<Error> for EvenframeError
impl From<Error> for EvenframeError
Source§fn from(source: Error) -> EvenframeError
fn from(source: Error) -> EvenframeError
Converts to this type from the input type.
Source§impl From<Error> for EvenframeError
impl From<Error> for EvenframeError
Source§fn from(err: Error) -> EvenframeError
fn from(err: Error) -> EvenframeError
Converts to this type from the input type.
Source§impl From<Error> for EvenframeError
impl From<Error> for EvenframeError
Source§fn from(err: Error) -> EvenframeError
fn from(err: Error) -> EvenframeError
Converts to this type from the input type.
Source§impl From<FromUtf8Error> for EvenframeError
impl From<FromUtf8Error> for EvenframeError
Source§fn from(source: FromUtf8Error) -> EvenframeError
fn from(source: FromUtf8Error) -> EvenframeError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EvenframeError
impl !RefUnwindSafe for EvenframeError
impl Send for EvenframeError
impl Sync for EvenframeError
impl Unpin for EvenframeError
impl UnsafeUnpin for EvenframeError
impl !UnwindSafe for EvenframeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read moreSource§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.