# I want to know under what conditions this error occurs in Verse.

**URL:** <https://forums.unrealengine.com/t/i-want-to-know-under-what-conditions-this-error-occurs-in-verse/1841137>\
**Category:** Verse\
**Tags:** fortnite-creative, question, fortnite\
**Created:** [May 5, 2024, 11:52am UTC](https://forums.unrealengine.com/t/i-want-to-know-under-what-conditions-this-error-occurs-in-verse/1841137 "2024-05-05T11:52:17Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [May 6, 2024, 9:15pm UTC](https://forums.unrealengine.com/t/i-want-to-know-under-what-conditions-this-error-occurs-in-verse/1841137/6 "2024-05-06T21:15:57Z")

</div>

According to the manual linked above your code is by default fully described as

```auto
<transacts><no_rollback> #only allowed in UEFN API 

```

So if there is an error there is no fallback on error so you will need

```auto
<decides><transacts>

```

Trying control-f to search with _ **transacts** _

they all say

```auto
<decides><transacts>

```

There may be an error in your code which will now show up

see

> **[Verse Language Quick Reference | Unreal Editor for Fortnite Documentation |...](https://dev.epicgames.com/documentation/en-us/uefn/verse-language-quick-reference#functioncalls)**
>
> Need to refresh on a Verse feature? This quick reference can help!

```auto
IsPuzzleSolved()<decides><transacts> : void =
    CurrentState = PuzzleSolution # succeeds if CurrentState is equal to PuzzleSolution, and fails if not

Main() : void =
    if (IsPuzzleSolved[]):
        ItemSpawner.Enable()

```

In this code The function PuzzleSolution is now protected from runtime errors and is detected in

```auto
    if (IsPuzzleSolved[]):

```

This means you can print if an error occurs or carry on.

in the documentation above Control + F and search for the word **transact**

There are over 20 examples of the use of

```auto
<decides><transacts>

```

for many operations in Verse

---

_[View the full topic](https://forums.unrealengine.com/t/i-want-to-know-under-what-conditions-this-error-occurs-in-verse/1841137)._
