Versions in this module Expand all Collapse all v1 v1.2.0 Jun 21, 2024 v1.0.0 Mar 29, 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