https://bugs.documentfoundation.org/show_bug.cgi?id=96966
Bug ID: 96966
Summary: Use proper error domains with user visible errors
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
I was trying to get gnome-documents to load an ODF from ownCloud using
LibreOfficeKit, and managed to hit an error path inside LOK due to a mistake on
my end. That led to:
GLib-WARNING **: (gerror.c:408):g_error_new_valist: runtime check
failed: (domain != 0)
This is caused by trying to create a new GError without specifying an error
domain.
I think we should actually export a proper error domain for user visible
errors. It will namespace the LOK error codes and let applications
differentiate them from errors thrown other libraries.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs