blob: d89f89595bd3a8bae50f97d6632d7a5808786333 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
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
}
|