Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add readable error code for recVersion inconsistency error #92

Open
ioanngolovko opened this issue Aug 17, 2018 · 1 comment
Open

Add readable error code for recVersion inconsistency error #92

ioanngolovko opened this issue Aug 17, 2018 · 1 comment

Comments

@ioanngolovko
Copy link
Collaborator

No description provided.

@inponomarev
Copy link
Member

  1. Create RecversionException extends CelestaException. On DatabaseAdaptor / BasicCursor layer, throw RecversionException when (try)update() cause this error.
  2. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants