pub fn with_datatype(error: Error, ty: u32, session: &dyn Session) -> Error
errdatatype: the error with the schema and the name of the type ty as the names of its object.
errdatatype
ty