GNU bug report logs -
#58363
29.0.50; sqlite-select does not signal errors and errors should be improved
Previous Next
Reported by: Jonas Bernoulli <jonas <at> bernoul.li>
Date: Fri, 7 Oct 2022 18:54:01 UTC
Severity: normal
Found in version 29.0.50
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Michael Albinus <michael.albinus <at> gmx.de> writes:
> Jonas Bernoulli <jonas <at> bernoul.li> writes:
>
> Hi Jonas,
>
>> + DEFSYM (Qsqlite_error, "sqlite-error");
>> + Fput (Qsqlite_error, Qerror_conditions,
>> + Fpurecopy (list2 (Qsqlite_error, Qerror)));
>> + Fput (Qsqlite_error, Qerror_message,
>> + build_pure_c_string ("Database error"));
>> +
>> DEFSYM (Qsqlite_locked_error, "sqlite-locked-error");
>> Fput (Qsqlite_locked_error, Qerror_conditions,
>> - Fpurecopy (list2 (Qsqlite_locked_error, Qerror)));
>> + Fpurecopy (list3 (Qsqlite_locked_error, Qsqlite_error, Qerror)));
>> Fput (Qsqlite_locked_error, Qerror_message,
>> build_pure_c_string ("Database locked"));
>
> I'm not sure about our policy, but shouldn't error symbols in the C core
> be documented in the manual, node "(elisp) Standard Errors"?
>
> Best regards, Michael.
I don't know but that section begins with
> Here is a list of the more important error symbols in standard Emacs,
Maybe this new error symbol falls into that category.
sqlite-locked-error wasn't documented on that page,
so I didn't do it for this either, for now.
This bug report was last modified 2 years and 209 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.