{"record":{"id":"2bfe1ac03ae88a0e","repo":"dbt-labs/dbt-core","slug":"has-no-method-named","errorCode":null,"errorMessage":"{} has no method named '{}'","messagePattern":"(.+?) has no method named '(.+?)'","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/dbt-agate/src/data_type.rs","lineNumber":203,"sourceCode":"\n                let d = as_data_type(\"d\", name, d)?;\n                self.0.cast(d)\n            }\n            \"csvify\" => {\n                let args_iter = ArgsIter::new(name, &[\"d\"], args);\n                let d = args_iter.next_arg::<&Value>()?;\n                args_iter.finish()?;\n\n                Ok(self.0.csvify(d))\n            }\n            \"jsonify\" => {\n                let args_iter = ArgsIter::new(name, &[\"d\"], args);\n                let d = args_iter.next_arg::<&Value>()?;\n                args_iter.finish()?;\n\n                Ok(self.0.jsonify(d))\n            }\n            _ => Err(Error::new(\n                ErrorKind::UnknownMethod,\n                format!(\"{} has no method named '{}'\", self.0.type_name(), name),\n            )),\n        }\n    }\n\n    fn render(self: &Arc<Self>, f: &mut fmt::Formatter<'_>) -> fmt::Result {\n        fmt::Display::fmt(self, f)\n    }\n}\n\n#[derive(Debug, Clone)]\nstruct DataTypeReprImpl {\n    null_values: NullValues<'static>,\n    /// The name of the data type (\"Text\", \"Number\", \"Boolean\", \"Date\", \"DateTime\", \"TimeDelta\")\n    type_name: String,\n}\n","sourceCodeStart":185,"sourceCodeEnd":221,"githubUrl":"https://github.com/dbt-labs/dbt-core/blob/0267ce9170576975b76b64ce856b2e5848e96617/crates/dbt-agate/src/data_type.rs#L185-L221","documentation":"Catch-all arm of DataType's Jinja method dispatch: only cast, csvify and jsonify are implemented, so any other method name invoked on a DataType value raises this UnknownMethod-style error naming the type and the missing method.","triggerScenarios":"Thrown at crates/dbt-agate/src/data_type.rs:203 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use one of the supported methods: cast, csvify, jsonify","Fix the method-name typo in the template","Extend the match arm when adding new DataType methods"],"exampleFix":null,"handlingStrategy":"type-guard","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"0267ce9170576975b76b64ce856b2e5848e96617","analyzedAt":"2026-09-07T21:53:39.732Z","contentChangedAt":"2026-09-07T21:53:39.732Z","schemaVersion":2},"datasetVersion":"2026-09-17T15:17:12.973Z"}