MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / Error

Struct Error

protocol/net/packet/packet.go:18–20  ·  view source on GitHub ↗

Error is a dummy decodeable packet that is simply an error

Source from the content-addressed store, hash-verified

16
17// Error is a dummy decodeable packet that is simply an error
18type Error struct {
19 Error error
20}
21
22func (Error) ID() int32 { return -1 }
23func (Error) Decode(encoding.Reader) error { return nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected