Error message cann't be catched up by debugger

Anthony, there is no “error point”. The error will appear when the transaction is committed, either explicitly with COMMIT or implicitly when code execution ends. Please read the docs for the CONSISTENT function to learn why…