File "NotACarbonClassException.php"

Full Path: /home/warrior1/public_html/wp-content/plugins/mailpoet/vendor-prefixed/nesbot/carbon/src/Carbon/Exceptions/NotACarbonClassException.php
File size: 522 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
namespace MailPoetVendor\Carbon\Exceptions;
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Carbon\CarbonInterface;
use Exception;
use InvalidArgumentException as BaseInvalidArgumentException;
class NotACarbonClassException extends BaseInvalidArgumentException implements InvalidArgumentException
{
 public function __construct($className, $code = 0, Exception $previous = null)
 {
 parent::__construct(\sprintf('Given class does not implement %s: %s', CarbonInterface::class, $className), $code, $previous);
 }
}