gnuradio / pmt

pmt
GNU Lesser General Public License v3.0
11 stars 11 forks source link

Improve Error reporting #28

Closed jsallay closed 2 years ago

jsallay commented 2 years ago

When a user attempts to do something illegal with a pmt (like convert a vector to a scalar) we should print a meaningful error message like: Unable to convert pmt of type VectorInt32 to float.

This addresses: https://github.com/gnuradio/pmt/issues/26 Signed-off-by: John Sallay jasallay@gmail.com