Add empty error functions and change name for error info struct