Skip to main content

require_reason

Function require_reason 

Source
pub fn require_reason(raw: Option<&str>) -> Result<String, String>
Expand description

The reason an agent gives for using or changing an entry, checked before anything is asked or written: one line of MIN_REASON to MAX_REASON characters. The error is what to tell the agent.