minor error reporting changes + types model test

Signed-off-by: dvorkinista <villain@noironetworks.com>