Skip to main content

MX_CONVERSION_ERROR_CLASS

Static MX_CONVERSION_ERROR_CLASS 

Source
pub static MX_CONVERSION_ERROR_CLASS: DistributedSlice<[ConversionErrorClassEntry]>
Expand description

The package crate’s conversion_error_class. Host-only.

miniextendr_init! emits one entry, with the classes it reads from the crate’s [package.metadata.miniextendr] (empty when unset). During write_r_wrappers_to_file it becomes .miniextendr_conversion_error_class, the classes .miniextendr_arg_error gives every R-side argument error, so they match the ones the macro emits into the Rust conversion arms (#1591).