// writeErrorResponse writes interface value to response.
writeErrorResponse writes interface value to response.
// writeErrorResponse writes interface value to response .
func (o *Operation) writeErrorResponse(rw http.ResponseWriter, status int, msg string) {
	rw.WriteHeader(status)
	if _, err := rw.Write([]byte(msg)); err != nil {
		logger.Errorf("Unable to send error message, %s", err)
	}
}
func ( o * Operation ) writeErrorResponse ( rw http . ResponseWriter , status int , msg string ) { rw . WriteHeader ( status ) if _ , err := rw . Write ( [ ] byte ( msg ) ) ; err != nil { logger . Errorf ( " " , err ) } }
writeErrorResponse writes interface value to response.
writeErrorResponse writes interface value to response .