uwb_core: unify the error enum

Originally, each module has its own error enum. We need to convert
the type when delegating the error. However, there is no huge
difference between these error enum.

This CL unifies all the error enums. With this unified error enum, we
could avoid necessary conversion. Also, this CL adds the logs at each
place that creates the errors.

Bug: 228395837
Test: cargo test
Test: cargo clippy

Change-Id: I324b4dd39250d397296a0cfd81e87a2034fb6ebb
21 files changed
tree: 983d6517b90de33cb245b43397148b7580154f86
  1. src/
  2. .gitignore
  3. Android.bp
  4. CleanSpec.mk
  5. METADATA
  6. MODULE_LICENSE_APACHE2
  7. NOTICE
  8. OWNERS
  9. PREUPLOAD.cfg