commit | 153311005f6c4f0de710adebaf93a98cc2ca8ebc | [log] [tgz] |
---|---|---|
author | Deepak Kodihalli <dkodihal@in.ibm.com> | Thu Mar 09 23:50:43 2017 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Mar 15 21:11:40 2017 +0000 |
tree | 2032a8d03490b8a7c4dd56691188385d5fcf5676 | |
parent | 682326a19c45b68299cb295b69754a9eb3154f48 [diff] |
Map sdbusplus exception to phosphor exception Errors will be created by using the sdbusplus error types, which results in an sdbusplus exception being thrown. Error metadata can be verified at compile-time by checking the error against phosphor-logging error types. This commit maps the sdbusplus error type to the phosphor type, for this purpose, via template specializations. Change-Id: Iee37e2a3846cc3acf3a62270a520ff0c395fd36d Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>