Function dart_sys::Dart_NewApiError

source ·
pub unsafe extern "C" fn Dart_NewApiError(
    error: *const c_char
) -> Dart_Handle
Expand description

Produces an api error handle with the provided error message.

Requires there to be a current isolate.

\param error the error message.