Convert thrown exceptions to returned errors for insert commands #24
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#101 Support returned values from Command::execute()
slendium/ocd
Reference
slendium/ocd-mariadb#24
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
An exception is thrown when an insert command fails due to a unique constraint violation. This exception should be caught internally and converted to a returned error from the
Command::execute()method.