# \#go-tagged

**URL:** https://community.neo4j.com/tag/go-tagged/465.md

[Latest](https://community.neo4j.com/latest.md) · [Categories](https://community.neo4j.com/categories.md) · [Tags](https://community.neo4j.com/tags.md)

---

## [Go Driver: How to "catch" transaction errors thrown by apoc.util.validate?](https://community.neo4j.com/t/go-driver-how-to-catch-transaction-errors-thrown-by-apoc-util-validate/58497)

<div class="topic-metadata">

**Author:** [@benjamin\_rood](https://community.neo4j.com/u/benjamin_rood)\
**Replies:** 3\
**Last updated:** [June 27, 2023, 9:09am UTC](https://community.neo4j.com/t/go-driver-how-to-catch-transaction-errors-thrown-by-apoc-util-validate/58497 "2023-06-27T09:09:50Z")

</div>

Sometimes we need to utilise triggers (apoc.trigger.add) to implement a functional constraint in database operation. The usual way of having this work is to make use of apoc.util.validate, and this raises an exception i…
