You are here

public function FileLinkItem::getException in File Link 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/Field/FieldType/FileLinkItem.php \Drupal\file_link\Plugin\Field\FieldType\FileLinkItem::getException()

Gets the last Guzzle client exception.

Return value

\GuzzleHttp\Exception\RequestException The last Guzzle client exception.

Overrides FileLinkInterface::getException

1 call to FileLinkItem::getException()
FileLinkItem::preSave in src/Plugin/Field/FieldType/FileLinkItem.php
Defines custom presave behavior for field values.

File

src/Plugin/Field/FieldType/FileLinkItem.php, line 271

Class

FileLinkItem
Implements a 'file_link' plugin field type.

Namespace

Drupal\file_link\Plugin\Field\FieldType

Code

public function getException() {
  return $this->exception;
}