Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1405480

Summary: [RFE] Report error codes for each error
Product: [Community] Candlepin (Migrated to Jira) Reporter: Kevin Howell <khowell>
Component: candlepinAssignee: candlepin-bugs
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.0CC: bcourt, redakkan, skallesh
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-20 16:09:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1367672    

Description Kevin Howell 2016-12-16 15:38:37 UTC
Description of problem:
It is really difficult to special case error handling in subscription-manager, because errors aren't easily distinguishable. There are some options here (ex. response header, unique String as part of existing error String).

How reproducible: always


Steps to Reproduce:
1. Generate an error in candlepin with default locale
2. Change locale and generate same error

Actual results:
Depending on the locale, the only thing the two errors might share is an identifer.

Expected results:
It would be nice to have some way of identifying the error (ex. CP0000042) or since that would require extra maintenance burden, maybe a error UUID in a header?