<?php
|
namespace JVBase\managers\SEO\render\Traits\_Properties;
|
|
use JVBase\managers\SEO\render\Thing\Thing;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
trait errorTrait {
|
/**
|
* @var Thing For failed actions, more information on the cause of the failure. Consider using the Error type.
|
*/
|
protected Thing $error;
|
|
public function getError():?Thing
|
{
|
return $this->error??null;
|
}
|
public function setError(Thing $error):void
|
{
|
$this->error = $error;
|
}
|
}
|