Initial Commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Queue;
|
||||
|
||||
use InvalidArgumentException;
|
||||
|
||||
class InvalidPayloadException extends InvalidArgumentException
|
||||
{
|
||||
/**
|
||||
* Create a new exception instance.
|
||||
*
|
||||
* @param string|null $message
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($message = null)
|
||||
{
|
||||
parent::__construct($message ?: json_last_error());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user