6    $renderer = 
$DIC->ui()->renderer();
 
    7    $image = 
$factory->image()->responsive(
"src/UI/examples/Image/mountains.jpg", 
"Image source: https://stocksnap.io, Creative Commons CC0 license");
 
    8    $page = 
$factory->modal()->lightboxImagePage($image, 
'Mountains');
 
    9    $modal = 
$factory->modal()->lightbox($page);
 
   10    $button = 
$factory->button()->standard(
'Show Image', 
'')
 
   11        ->withOnClick($modal->getShowSignal());
 
   13    return $renderer->render([$button, $modal]);
 
An exception for terminatinating execution or to throw for unit testing.