Versions in this module Expand all Collapse all v1 v1.0.0 Dec 21, 2023 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