changed error to an exception class
forgot to add NotFoundException
Merge branch 'slug' of github.com:enpere/router into slug
Merge pull request #9 from enpere/slug

changed error to an exception class