Splitting out common error response
Adding .gitignore