Versions in this module Expand all Collapse all v1 v1.1.1 Jan 13, 2024 v1.1.0 Jan 13, 2024 Changes in this version + func ConvertToBanningProtocolErrorIfRuleError(err error, format string, args ...interface{}) error + func Errorf(shouldBan bool, format string, args ...interface{}) error + func New(shouldBan bool, message string) error + func Wrap(shouldBan bool, err error, message string) error + func Wrapf(shouldBan bool, err error, format string, args ...interface{}) error + type ProtocolError struct + Cause error + ShouldBan bool + func (e ProtocolError) Error() string + func (e ProtocolError) Unwrap() error