Yoast\WP\SEO\Exceptions\SEMrush\Tokens
Failed_Storage_Exception::__construct() public Yoast 1.0
Failed_Storage_Exception constructor.
{} Это метод класса: Failed_Storage_Exception{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
$Failed_Storage_Exception = new Failed_Storage_Exception(); $Failed_Storage_Exception->__construct( $reason );
- $reason(строка)
- The reason why token storage failed. Optional.
По умолчанию: ''
Код Failed_Storage_Exception::__construct() Failed Storage Exception:: construct Yoast 15.6.2
public function __construct( $reason = '' ) {
$message = ( $reason ) ? \sprintf( 'Token storing failed. Reason: %s. Please try again', $reason ) : self::DEFAULT_MESSAGE;
parent::__construct( $message, 500 );
}