Shawn Wang a6d52af58a
Include error code in RealizationErrorStateError in Policy
In Policy API, RealizationErrorStateError is raised if an intent
entity gets into ERROR state during wait. Currently only error message
is included in the exception. This patch adds both error_code and
related_error_codes in the exception to make it more informative.

Change-Id: I45b7c50a50b1a69e37b79f684b324bb17496a9df
2019-10-08 11:25:18 -07:00
..