pub fn database_error(error: &JsValue) -> ErrorExpand 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.