Adding an error response. Closes #3.