kahlan\matcher\AnyException::__construct PHP Method

__construct() public method

The exception message.
public __construct ( string $message = null, string $code, string $previous = null )
$message string The exception message.
$code string The exception code.
$previous string The previous exception.
    public function __construct($message = null, $code = 0, $previous = null)
    {
        $this->message = $message;
        $this->code = $code;
    }
AnyException