box: rename diag_add_error to diag_set_error
Let's rename diag_add_error() to diag_set_error() because it actually replaces an error object in diagnostic area with a new one and this name is not representative. Moreover, we are going to introduce a new diag_add_error() which will place error at the top of stack diagnostic area. Needed for #1148
Showing
- src/box/applier.cc 1 addition, 1 deletionsrc/box/applier.cc
- src/box/error.cc 1 addition, 1 deletionsrc/box/error.cc
- src/box/relay.cc 2 additions, 2 deletionssrc/box/relay.cc
- src/box/vy_scheduler.c 3 additions, 3 deletionssrc/box/vy_scheduler.c
- src/lib/core/diag.h 3 additions, 3 deletionssrc/lib/core/diag.h
- src/lib/core/exception.cc 1 addition, 1 deletionsrc/lib/core/exception.cc
- src/lib/core/exception.h 1 addition, 1 deletionsrc/lib/core/exception.h
- src/lua/utils.c 1 addition, 1 deletionsrc/lua/utils.c
Loading
Please register or sign in to comment