A validation-failure error: the canonical gate reported a non-conforming node. Kept as a `Parser`-free helper so `main.rs`'s `err.exit_code()` fires with a distinct, user-fixable exit code (2, a usage/authoring error) rather than the internal-bug code.
(message: impl Into<String>)
| 135 | /// with a distinct, user-fixable exit code (2, a usage/authoring error) rather |
| 136 | /// than the internal-bug code. |
| 137 | pub(crate) fn validation_failed(message: impl Into<String>) -> crate::error::CliError { |
| 138 | crate::error::CliError::InvalidArgument { |
| 139 | message: message.into(), |
| 140 | } |
| 141 | } |
no outgoing calls