client library Error class has no way to get a Type-independent string representation
Bug #1277808 reported by
Mike McCracken
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-download-manager |
Fix Released
|
Medium
|
Manuel de la Peña | ||
ubuntu-download-manager (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
the subclasses have ways to get at info like http status codes, etc.
it'd be nice if they all implemented an errorString() method or something that could be called on an Error* to just get a generic description without needing to know about the type.
Related branches
lp:~mandel/ubuntu-download-manager/error-string
- PS Jenkins bot: Approve (continuous-integration)
- Mike McCracken (community): Approve
- Diego Sarmentero (community): Approve
-
Diff: 215 lines (+80/-4)2 files modifiedubuntu-download-manager-client/ubuntu/download_manager/error.cpp (+75/-4)
ubuntu-download-manager-client/ubuntu/download_manager/error.h (+5/-0)
Changed in ubuntu-download-manager: | |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in ubuntu-download-manager: | |
milestone: | none → 0.4 |
Changed in ubuntu-download-manager: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:ubuntu-download-manager at revision 235, scheduled for release in ubuntu- download- manager, milestone 0.4