feature/check-error-response

Close #6