better error reporting for number types