add delete option and error handling to tours

This commit is contained in:
2019-01-17 09:59:06 -03:00
parent c659ab03e0
commit 6cb6283af0
4 changed files with 88 additions and 10 deletions

View File

@@ -39,7 +39,11 @@ namespace LibSernatur {
/**
* Invalid value
*/
INVALID_VALUE
INVALID_VALUE,
/**
* Could not be modified or deleted because of a constraint
*/
FOREIGN_KEY_CONSTAINT
}
/**