Skip to main content

allow_with_reason

Method
This is a method of the HookResult class in the hooks module.
Create an allow result with reason

Signature

def allow_with_reason(reason: impl Into<String>) -> Self

Parameters

reason
impl Into<String>
required
No description available.

Returns

Returns
Self
The result of the operation.