pub fn context_validation_error<S: Into<String>>(
    builder: &impl StaticContextActionBuilder,
    msg: S,
) -> Result<StaticContextActionPointer, StaticContextActionBuilderError> {
    Err(StaticContextActionBuilderError::ValidationError(
        builder.get_type_name(),
        msg.into(),
    ))
}
/// A helper to build an error when field validation failed on a context action builder
A helper to build an error when field validation failed on a context action builder
A helper to build an error when field validation failed on a context action builder
pub fn context_validation_error<S: Into<String>>(
    builder: &impl StaticContextActionBuilder,
    msg: S,
) -> Result<StaticContextActionPointer, StaticContextActionBuilderError> {
    Err(StaticContextActionBuilderError::ValidationError(
        builder.get_type_name(),
        msg.into(),
    ))
}
pub fn context_validation_error < S : Into < String > > ( builder : & impl StaticContextActionBuilder , msg : S , ) -> Result < StaticContextActionPointer , StaticContextActionBuilderError > { Err ( StaticContextActionBuilderError :: ValidationError ( builder . get_type_name ( ) , msg . into ( ) , ) ) }
A helper to build an error when field validation failed on a context action builder
A helper to build an error when field validation failed on a context action builder
builder
&impl StaticContextActionBuilder
msg
S
builder
&impl StaticContextActionBuilder
msg
S