[#1972] node: Fix errors comments in the Put service
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
7335a52f29
commit
51963abce7
1 changed files with 2 additions and 2 deletions
|
@ -34,9 +34,9 @@ type validatingTarget struct {
|
|||
}
|
||||
|
||||
var (
|
||||
// ErrExceedingMaxSize is returned when chunk payload size is greater than the length declared in header.
|
||||
// ErrExceedingMaxSize is returned when payload size is greater than the limit.
|
||||
ErrExceedingMaxSize = errors.New("payload size is greater than the limit")
|
||||
// ErrWrongPayloadSize is returned when payload size is greater than the limit.
|
||||
// ErrWrongPayloadSize is returned when chunk payload size is greater than the length declared in header.
|
||||
ErrWrongPayloadSize = errors.New("wrong payload size")
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue