# error

    Code
      synchronise(do())
    Condition
      Error in `fun()`:
      ! doh

# test function throws

    Code
      synchronise(do())
    Condition
      Error in `test()`:
      ! doh

