Fixed Crashing Issue on Startup

Had to change the error parameter to use the out keyword to pass it by reference.