Refuse
Raise Refuse from an operation’s prepare(), a lookup, an identify()
find function, or a transfer function when the request breaks a rule. Nothing
changes. The model is told why, and what can be done instead.
Parameters
why
What is true now: that nothing was changed, and why.
then
What to do next. Defaults to telling the caller and asking how they’d like to go on.
keep
Keyword-only. True keeps the refusal in the model’s view however long it is, for a
refusal that lists choices the caller picks from later.