How to mark a test case as fail on LambdaTest

How to mark a test case as fail on LambdaTest?

Hey Emma,

Pass the following in the try block, refer to the snippet below:

self::$driver->executeScript("lambda-status=passed");

Refer to Lambdatest Hooks - Lambda Hooks For Selenium Automation | LambdaTest | LambdaTest