mirror of
https://github.com/soypat/lneto.git
synced 2026-08-03 06:27:52 +00:00
17 lines
402 B
Go
17 lines
402 B
Go
package lneto
|
|
|
|
// type ErrorPacketDrop struct {
|
|
// Message string
|
|
// }
|
|
|
|
// var genericErrPacketDrop = &ErrorPacketDrop{Message: "lneto: packet dropped"}
|
|
|
|
// // ErrGenericPacketDrop returns the generic packet drop error. It performs no allocations.
|
|
// func ErrGenericPacketDrop() error {
|
|
// return genericErrPacketDrop
|
|
// }
|
|
|
|
// func (err *ErrorPacketDrop) Error() string {
|
|
// return err.Message
|
|
// }
|