Function throw_error::throw
source ยท pub fn throw(error: impl Into<Error>) -> ErrorIdExpand description
Invokes the error hook set by set_error_hook with the given error.
pub fn throw(error: impl Into<Error>) -> ErrorIdInvokes the error hook set by set_error_hook with the given error.