pub fn fail( code: impl Into<String>, error: impl Into<String>, hint: Option<String>, ) -> ToolEnvelope