Open roman-khimov opened 3 months ago
Code like https://github.com/nspcc-dev/neofs-node/pull/2674/commits/6938955c72580379d4f60fcf2b2a49fd06eaaa22#r1540006096 to get error constants.
Have some real error codes defined in constants, no one cares about sections, so it should be const ErrorCode = 1025 and not const Section = 1024; const ErrorCode = 1
const ErrorCode = 1025
const Section = 1024; const ErrorCode = 1
Blocked by #551.
Current Behavior
Code like https://github.com/nspcc-dev/neofs-node/pull/2674/commits/6938955c72580379d4f60fcf2b2a49fd06eaaa22#r1540006096 to get error constants.
Expected Behavior
Have some real error codes defined in constants, no one cares about sections, so it should be
const ErrorCode = 1025
and notconst Section = 1024; const ErrorCode = 1
Context
Blocked by #551.