code: func Error(w http.ResponseWriter, status int, err *types.ErrorV1) {
  	headers := w.Header()
  	headers.Add("Content-Type", "application/json")
  	Bytes(w, status, err.Bytes())
  	w.Write([]byte("\n"))
  }
docs: // Error writes a response with specified status and error response.