U-D/U-E/O5: Prozess-Tester im eigenen Prozess (standardmäßig gesperrt, 15 Negativtests, statischer Wächter), Szenarien und Bericht, Kanalereignisse (API-Eingang ohne Umbau von iCal/Mail), Abschluss nach finanzieller Klärung, Löschfrist 30 Tage
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c255783cec
commit
0689c0a591
68 files changed
+3350
-35
No files matched your search
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Process\Tester;
|
||||
|
||||
use RuntimeException;
|
||||
|
||||
/**
|
||||
* Something inside a tester run tried to reach the real world (a database other than the run's own, the network
|
||||
* without a scripted answer, the mailbox, another mailer or store). It is recorded in the run's ledger before it is
|
||||
* thrown, so a run that swallowed it is still reported as aborted (docs/Prozessarchitektur/Architektur/04 §3.3).
|
||||
*/
|
||||
final class SandboxViolation extends RuntimeException
|
||||
{
|
||||
public static function record(string $kind, string $message): self
|
||||
{
|
||||
EffectLedger::record('violation', ['kind' => $kind, 'message' => $message]);
|
||||
|
||||
return new self('Prozess-Tester: unzulässiger Zugriff ('.$kind.'): '.$message);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user