You can set a response error on the transaction to cancel it safely. That's what the Mojolicious tests use.
-- sebastian -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to mojolicious+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mojolicious/07544447-a4a1-4cd7-b6d6-79351815f3bbn%40googlegroups.com.