add standard error response

#77