from_reason(
cls,
reason: str,
*,
diagnostics: WorkspaceDiagnostics | None = None
) | Name | Type | Description |
|---|---|---|
reason* | str | |
diagnostics | WorkspaceDiagnostics | None | Default: None |
Build a workspace-hosting refusal with a stated reason.
The cause, phrased to follow "because".
Structured, allowlisted detail about the conflict.