[#82] status: Add status code for wrong network magic
After the recent update of NeoFS V2 protocol all requests must carry correct network magic. Add `WRONG_MAGIC_NUMBER` code to `CommonFail` section. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
b1fca685a9
commit
d9d71ccd66
1 changed files with 3 additions and 0 deletions
|
@ -80,4 +80,7 @@ enum CommonFail {
|
||||||
// If the server cannot match failed outcome to the code, it should
|
// If the server cannot match failed outcome to the code, it should
|
||||||
// use this code.
|
// use this code.
|
||||||
INTERNAL = 0;
|
INTERNAL = 0;
|
||||||
|
|
||||||
|
// [**1025**] Wrong magic of the NeoFS network. Not detailed.
|
||||||
|
WRONG_MAGIC_NUMBER = 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue