You are here

class MediaTypeNotFoundException in Gutenberg 8

Same name and namespace in other branches
  1. 8.2 src/Service/MediaTypeNotFoundException.php \Drupal\gutenberg\Service\MediaTypeNotFoundException

Thrown if media type entity couldn't be found.

@package Drupal\gutenberg\Service

Hierarchy

Expanded class hierarchy of MediaTypeNotFoundException

1 file declares its use of MediaTypeNotFoundException
MediaController.php in src/Controller/MediaController.php

File

src/Service/MediaTypeNotFoundException.php, line 10

Namespace

Drupal\gutenberg\Service
View source
class MediaTypeNotFoundException extends \Exception {

  /**
   * {@inheritDoc}
   */
  protected $message = 'Media type not found.';

}

Members