Add error number to ModuleException
Merge pull request #15 from wagnert/master

Add error number to ModuleException