D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
local
/
psa
/
admin
/
plib
/
vendor
/
webonyx
/
graphql-php
/
src
/
Utils
/
Filename :
LazyException.php
back
Copy
<?php declare(strict_types=1); namespace GraphQL\Utils; /** * Allows lazy calculation of a complex message when the exception is used in `assert()`. */ class LazyException extends \Exception { /** @param callable(): string $makeMessage */ public function __construct(callable $makeMessage) { parent::__construct($makeMessage()); } }