[][src]Function rusty_v8::create_message

pub fn create_message<'sc>(
    scope: &mut impl ToLocal<'sc>,
    exception: Local<'sc, Value>
) -> Local<'sc, Message>

Creates an error message for the given exception. Will try to reconstruct the original stack trace from the exception value, or capture the current stack trace if not available.