Skip to main content

database_error

Function database_error 

Source
pub fn database_error(error: &JsValue) -> Error
Expand description

A DatabaseError for what the binding threw.

The thrown error’s message is the backend’s summary, and its cause, when there is one, carries SQLite’s own text – the part the ErrorKind mapping reads – so both are kept.