ref: 803089a76171db1dd5b891fb6dfa1b7e7f3d50d2
dir: /protocol/v0v1/server/receivepack/errors.go/
package receivepack
// ProtocolError reports one malformed or unsupported receive-pack protocol input.
type ProtocolError struct {
Reason string
}
// Error returns the formatted error string.
func (err *ProtocolError) Error() string {
return "protocol/v0v1/server/receivepack: protocol error: " + err.Reason
}