Yoast\WP\SEO\Exceptions\OAuth\Tokens
Failed_Storage_Exception::__construct
Failed_Storage_Exception constructor.
Метод класса: Failed_Storage_Exception{}
Хуков нет.
Возвращает
null. Ничего (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 27.8
public function __construct( $reason = '' ) {
$message = ( $reason ) ? \sprintf( 'Token storing failed. Reason: %s. Please try again', $reason ) : self::DEFAULT_MESSAGE;
parent::__construct( $message, 500 );
}