pub fn action_validation_error<S: Into<String>>(
    builder: &impl ActionBuilder,
    msg: S,
) -> Result<ActionPointer, ActionBuilderError> {
    Err(ActionBuilderError::ValidationError(
        builder.get_type_name(),
        msg.into(),
    ))
}
/// A helper to build an error when field validation failed on an action builder
A helper to build an error when field validation failed on an action builder
A helper to build an error when field validation failed on an action builder
pub fn action_validation_error<S: Into<String>>(
    builder: &impl ActionBuilder,
    msg: S,
) -> Result<ActionPointer, ActionBuilderError> {
    Err(ActionBuilderError::ValidationError(
        builder.get_type_name(),
        msg.into(),
    ))
}
pub fn action_validation_error < S : Into < String > > ( builder : & impl ActionBuilder , msg : S , ) -> Result < ActionPointer , ActionBuilderError > { Err ( ActionBuilderError :: ValidationError ( builder . get_type_name ( ) , msg . into ( ) , ) ) }
A helper to build an error when field validation failed on an action builder
A helper to build an error when field validation failed on an action builder
builder
&impl ActionBuilder
msg
S
builder
&impl ActionBuilder
msg
S