commit | cad5c82af88a2fbc421192a1313e727512bd5854 | [log] [tgz] |
---|---|---|
author | Michael Butler <butlermichael@google.com> | Fri Oct 15 16:19:26 2021 -0700 |
committer | Michael Butler <butlermichael@google.com> | Fri Oct 15 16:36:13 2021 -0700 |
tree | 6c9756526f1845ae1779b5aa895afb396ee3372f | |
parent | 54b51094129a8a408724ec7344d72561aa28707a [diff] |
Allow implicit conversions for NN errors -- runtime This change allows GeneralErrors to be created from a string and allows ExecutionErrors to be created from a string or a GeneralError. This makes error handling more terse, removing the need for helper functions such as makeGeneralFailure or makeExecutionFailure. Bug: N/A Test: mma Change-Id: I8ed01dc6b70e493857fbe4c8fef62cba43e4ee92