Provide access to data returned by helper even on error replies
Needs ReviewPublic

Authored by volkov on Jan 10 2018, 4:18 PM.

Details

Reviewers
None
Group Reviewers
Frameworks
Summary

Helper may provide an additional information about an error in it.

Diff Detail

Repository
R283 KAuth
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
volkov created this revision.Jan 10 2018, 4:18 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptJan 10 2018, 4:18 PM
Restricted Application added a subscriber: Frameworks. · View Herald Transcript
volkov requested review of this revision.Jan 10 2018, 4:18 PM
apol added a subscriber: apol.May 9 2018, 10:09 AM

What are you trying to fix?
Why isn't the error text enough?

Restricted Application added a subscriber: kde-frameworks-devel. · View Herald TranscriptMay 9 2018, 10:09 AM

The error text is nonlocalized because a helper doesn't know a locale of a user process.
With this change the helper may return data that can be composed into a translated message in the user process.