for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Flugg\Responder\Exceptions;
use League\Fractal\Serializer\SerializerAbstract;
use RuntimeException;
/**
* An exception thrown when given invalid serializers.
*
* @package flugger/laravel-responder
* @author Alexander Tømmerås <[email protected]>
* @license The MIT License
*/
class InvalidSuccessSerializerException extends RuntimeException
{
* Construct the exception class.
public function __construct()
parent::__construct('Serializer must be an instance of [' . SerializerAbstract::class . '].');
}