Add readable error code for recVersion inconsistency error
ioanngolovko opened this issue · 1 comments
ioanngolovko commented
Add readable error code for recVersion inconsistency error
inponomarev commented
- Create RecversionException extends CelestaException. On DatabaseAdaptor / BasicCursor layer, throw RecversionException when (try)update() cause this error.
- In order to better recognize recversion exception from all other database backend problems, introduce ERROR CODE in database trigger layer. Use this ERROR CODE to recognize 'our' exception. WARNING: this requires some research, if ERROR CODE feature is supported in all our DB backends