Updated message formatting in exception

This commit is contained in:
netkas 2025-01-30 00:31:41 -05:00
parent 8ced492c5b
commit f47d31c227

View file

@ -14,6 +14,6 @@
*/
public function __construct(string $parameterName, string $reason)
{
parent::__construct(sprintf('The parameter %s is invalid: %s', $parameterName, $reason), StandardError::RPC_INVALID_ARGUMENTS);
parent::__construct(sprintf('Invalid parameter %s: %s', $parameterName, $reason), StandardError::RPC_INVALID_ARGUMENTS);
}
}