[#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:
Leonard Lyubich 2022-01-10 15:42:41 +03:00 committed by LeL
parent b1fca685a9
commit d9d71ccd66

View file

@ -80,4 +80,7 @@ enum CommonFail {
// If the server cannot match failed outcome to the code, it should
// use this code.
INTERNAL = 0;
// [**1025**] Wrong magic of the NeoFS network. Not detailed.
WRONG_MAGIC_NUMBER = 1;
}