for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Mdanter\Ecc\Exception;
use Mdanter\Ecc\Primitives\CurveFpInterface;
class PointNotOnCurveException extends PointException
{
public function __construct(\GMP $x, \GMP $y, CurveFpInterface $curve)
parent::__construct("Curve " . $curve . " does not contain point (" . gmp_strval($x, 10) . ", " . gmp_strval($y, 10) . ")");
}