BUG: improve the error handling
Documentation update for numeric model ids, fixes #3
Merge pull request #4 from karissa/error-handling

Error handling