pub const FOREIGN_ERROR_CODE: i32 = -4;Expand description
The reserved error code reporting that a consumer callback-interface implementation failed.
A consumer’s method implementation that raises reports it through the
vtable entry’s out_err slot (via {prefix}_error_set). The producer
sees every failure with this code, except a declared domain code from a
method that throws (see
ForeignError).