func (handler *DenyAllHandler) CheckQuery(sqlQuery string, parsedQuery sqlparser.Statement) (bool, error) {
	handler.logger.WithField(logging.FieldKeyEventCode, logging.EventCodeErrorCensorQueryIsNotAllowed).Errorf("Query has been denied by Denyall handler")
	return false, common.ErrDenyAllError
}
CheckQuery blocks any input query
package handlers
import (
	"github.com/cossacklabs/acra/acra-censor/common"
	"github.com/cossacklabs/acra/logging"
	"github.com/cossacklabs/acra/sqlparser"
	log "github.com/sirupsen/logrus"
)
type DenyAllHandler struct {
	logger *log.Entry
}
func NewDenyallHandler() *DenyAllHandler {
	handler := &DenyAllHandler{logger: log.WithField("handler", "denyall")}
	return handler
}