diff options
author | Michael Butler <butlermichael@google.com> | 2021-10-15 16:23:20 -0700 |
---|---|---|
committer | Michael Butler <butlermichael@google.com> | 2021-10-15 16:37:09 -0700 |
commit | ff9a5a527a05d0638fca6010fefa9e7420d1f7ab (patch) | |
tree | dff8b5112d72c6bd73bb72e8313b8361ef64ae84 /camera/common/1.0/default/CameraModule.cpp | |
parent | 176144714ecf6cbce07b572a72a0823ca8dae400 (diff) |
Allow implicit conversions for NN errors -- hal
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: I8c5e80a2eb4f399fad64aab763fe6fa08cf8d1db
Diffstat (limited to 'camera/common/1.0/default/CameraModule.cpp')
0 files changed, 0 insertions, 0 deletions