Made message signing in Cryptography use SHA512 as the message content for... #1
1 changed files with 18 additions and 0 deletions
|
@ -0,0 +1,18 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Socialbox\Exceptions\Standard;
|
||||||
|
|
||||||
|
use Socialbox\Enums\StandardError;
|
||||||
|
|
||||||
|
class MissingArgumentException extends StandardException
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Thrown when a required parameter is missing
|
||||||
|
*
|
||||||
|
* @param string $parameterName
|
||||||
|
*/
|
||||||
|
public function __construct(string $parameterName)
|
||||||
|
{
|
||||||
|
parent::__construct(sprintf('Missing required parameter: %s', $parameterName), StandardError::RPC_INVALID_ARGUMENTS);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue