InvalidPayloadException.php
375 字节
<?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());
}
}