You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling Facade methods from the wrong context a RuntimeException is thrown but the phpdoc @throws tag documents that the Temporal\Exception\OutOfContextException exception should be thrown instead.
From a superficial search, it seems like the OutOfContextException is never used in the codebase.
Minimal Reproduction
❯ php -a
Interactive shell
php > require_once 'vendor/autoload.php';
php > \Temporal\Activity::getInfo();
PHP Warning: Uncaught RuntimeException: Calling facade methods can only be made from the currently running process in ...
Environment/Versions
temporal/sdk v2.14.1
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
When calling Facade methods from the wrong context a
RuntimeException
is thrown but the phpdoc@throws
tag documents that theTemporal\Exception\OutOfContextException
exception should be thrown instead.From a superficial search, it seems like the
OutOfContextException
is never used in the codebase.Minimal Reproduction
Environment/Versions
temporal/sdk v2.14.1
The text was updated successfully, but these errors were encountered: