binder_ndk_sys

Function AStatus_fromExceptionCodeWithMessage

Source
pub unsafe extern "C" fn AStatus_fromExceptionCodeWithMessage(
    exception: binder_exception_t,
    message: *const c_char,
) -> *mut AStatus
Expand description

New status with exception code and message.

Available since API level 29.

\param exception the code that this status should represent. If this is EX_NONE, then this constructs an non-error status object. \param message the error message to associate with this status object.

\return a newly constructed status object that the caller owns.