Make the error definitions public
Merge pull request #437 from MaddTheSane/exportErrors

Make the error definitions public