Call error_handler if error occurs when invoking "load"