feat(error): add error handling
Merge pull request #1 from joukou/feature/error-handling

feat(error): add error handling