Fix for missing ThrowCodeError routine error
Merge pull request #2 from sdjayna/fixes

Fix for missing ThrowCodeError routine error