+/// Creates an [`InvoiceError`] with the given message.
+#[must_use]
+#[no_mangle]
+pub extern "C" fn InvoiceError_from_string(mut s: crate::c_types::Str) -> crate::lightning::offers::invoice_error::InvoiceError {
+ let mut ret = lightning::offers::invoice_error::InvoiceError::from_string(s.into_string());
+ crate::lightning::offers::invoice_error::InvoiceError { inner: ObjOps::heap_alloc(ret), is_owned: true }
+}
+