pub fn is_already_exists(err: &Error) -> bool
Whether err is a write rejected by a UNIQUE index or an existing record ID.
err
UNIQUE