Updated message formatting in exception
This commit is contained in:
parent
8ced492c5b
commit
f47d31c227
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue