Function throw

pub fn throw(error: impl Into<Error>) -> ErrorId
Expand description

Invokes the error hook set by set_error_hook with the given error.