Skip to main content

GENERIC_ERROR_CODE

Constant GENERIC_ERROR_CODE 

Source
pub const GENERIC_ERROR_CODE: i32 = -1;
Expand description

The reserved error code for an untyped producer error: the default ErrorReport::code, used by Result<T, String> and other error types that don’t map onto a declared domain code.