Enum cqrs_es2::Error [−][src]
Expand description
The base error for the framework.
Variants
UserError(UserError)
The user has made an error, a String value contains a message to be delivered to the user.
Tuple Fields of UserError
0: UserError
TechnicalError(String)
A technical error was encountered that prevented the command from being applied to the aggregate. In general the accompanying message should be logged for investigation rather than returned to the user.
Tuple Fields of TechnicalError
0: String
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more