Add programmaticaly useful error signalling

Authored by leinir on Nov 12 2018, 12:34 PM.

Description

Add programmaticaly useful error signalling

Previously, KNSCore only signalled errors using string messages,
which were useful for fault finding, but not useful when
attempting to handle errors during general operation. This patch
adds a signal which is fired at the same time as some error
messages, and which provides error condition information which
is useful in a programmatical fashion.

This patch would allow https://bugs.kde.org/show_bug.cgi?id=395937
to be fixed in a non-hackish fashion.

Differential Revision: https://phabricator.kde.org/D16665

Details

Committed
leinirNov 12 2018, 12:34 PM
Differential Revision
D16665: Add programmaticaly useful error signalling
Parents
R304:090f6225e07d: GIT_SILENT Upgrade KF5 version to 5.53.0.
Branches
Unknown
Tags
Unknown