errors

package
v0.0.0-...-5c88515 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// 无效消息体
	ErrInvalidBody = errors.New("invalid body")
	// 消息体过长
	ErrBodyTooLong = errors.New("body too long")
	// 无效消息头
	ErrInvalidHeader = errors.New("invalid header")
	// 未找到标识符
	ErrNotFoundPrefixID = errors.New("not found prefix")
	// 无效BCD时间
	ErrInvalidBCDTime = errors.New("invalid BCD time")
	// 无效消息格式
	ErrInvalidMessage = errors.New("invalid message")
	// 无效消息校验和
	ErrInvalidCheckSum = errors.New("invalid check sum")
	// 消息类型未注册
	ErrTypeNotRegistered = errors.New("entity not registered")
	// 附加信息长度错误
	ErrInvalidExtraLength = errors.New("invalid extra length")
	// 消息解密失败
	ErrDecryptMessageFailed = errors.New("decrypt message failed")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL