Make error objects be made with 'new'
Merge pull request #20 from alFReD-NSH/errors

Make error objects be made with 'new'