You are here

public function FileLinkInterface::setException in File Link 8

Same name and namespace in other branches
  1. 2.0.x src/FileLinkInterface.php \Drupal\file_link\FileLinkInterface::setException()

Sets the exception throw by the last HTTP client request.

Parameters

\GuzzleHttp\Exception\RequestException $exception: The last Guzzle request exception.

Return value

$this

1 method overrides FileLinkInterface::setException()
FileLinkItem::setException in src/Plugin/Field/FieldType/FileLinkItem.php
Sets the exception throw by the last HTTP client request.

File

src/FileLinkInterface.php, line 62

Class

FileLinkInterface
Provides an interface for File Link field.

Namespace

Drupal\file_link

Code

public function setException(RequestException $exception);