Added default error handler for unhandled data types