From c48c57073d618df5a023b5daec372aec5770b471 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 10 Jan 2018 14:45:30 -0800 Subject: uhd: Add narrow_cast and narrow Reviewed-by: Ashish Chaudhari --- host/lib/exception.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'host/lib/exception.cpp') 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) -- cgit v1.2.3