diff --git a/pages/api-references/genlayer-test/direct.md b/pages/api-references/genlayer-test/direct.md index 0c02ea42..384bbc66 100644 --- a/pages/api-references/genlayer-test/direct.md +++ b/pages/api-references/genlayer-test/direct.md @@ -259,7 +259,7 @@ Stop the current prank. Context manager expecting the next call to revert. -Catches ContractRollback (gl.rollback) and any Exception raised +Catches gl.UserError and any Exception raised by contract code (ValueError, RuntimeError, etc.). If *message* is given, the exception text must contain it.