# \`submitMustFailWith\`

**URL:** <https://forum.canton.network/t/submitmustfailwith/3600>\
**Category:** App Development\
**Tags:** daml, features and bugs\
**Created:** [December 17, 2021, 5:33pm UTC](https://forum.canton.network/t/submitmustfailwith/3600 "2021-12-17T17:33:23Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [December 20, 2021, 7:52am UTC](https://forum.canton.network/t/submitmustfailwith/3600/4 "2021-12-20T07:52:41Z")

</div>

It’s not broken in Daml script. If you throw in `Script` you can catch it. What doesn’t work is throwing an exception in a submission` and expecting to catch that exception on the client side. See [How do I catch an inbuilt Exception in a Script? - #2 by cocreature](https://discuss.daml.com/t/how-do-i-catch-an-inbuilt-exception-in-a-script/2989/2) for the same discussion.

---

_[View the full topic](https://forum.canton.network/t/submitmustfailwith/3600)._
