diff options
author | Martin Braun <martin.braun@ettus.com> | 2018-01-10 14:45:30 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-01-12 13:18:03 -0800 |
commit | c48c57073d618df5a023b5daec372aec5770b471 (patch) | |
tree | c736e31a4ededb430141703055f1bfa53f21b65f /host/lib/exception.cpp | |
parent | ebfd551c355cd28f720b6b77a9d0470353b2e21c (diff) | |
download | uhd-c48c57073d618df5a023b5daec372aec5770b471.tar.gz uhd-c48c57073d618df5a023b5daec372aec5770b471.tar.bz2 uhd-c48c57073d618df5a023b5daec372aec5770b471.zip |
uhd: Add narrow_cast and narrow
Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com>
Diffstat (limited to 'host/lib/exception.cpp')
-rw-r--r-- | host/lib/exception.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/exception.cpp b/host/lib/exception.cpp index 3d39d901d..1a1ddb0ad 100644 --- a/host/lib/exception.cpp +++ b/host/lib/exception.cpp @@ -26,6 +26,7 @@ make_exception_impl("IndexError", index_error, lookup_err make_exception_impl("KeyError", key_error, lookup_error) make_exception_impl("TypeError", type_error, exception) make_exception_impl("ValueError", value_error, exception) +make_exception_impl("NarrowingError", narrowing_error, value_error) make_exception_impl("RuntimeError", runtime_error, exception) make_exception_impl("NotImplementedError", not_implemented_error, runtime_error) make_exception_impl("EnvironmentError", environment_error, exception) |