MarkdownFileNotExistsException.php in Markdown 8.2
Namespace
Drupal\markdown\ExceptionFile
src/Exception/MarkdownFileNotExistsException.phpView source
<?php
namespace Drupal\markdown\Exception;
/**
* Exception thrown when a file is expected to exist but does not.
*
* @todo Extend from \RuntimeException and implement MarkdownExceptionInterface
* in 3.0.0.
*/
class MarkdownFileNotExistsException extends MarkdownException {
/**
* {@inheritdoc}
*/
public function __construct($file, $code = 0, $previous = NULL) {
parent::__construct(sprintf('Markdown cannot parse the file: %s', $file), $code, $previous);
}
}
Classes
Name | Description |
---|---|
MarkdownFileNotExistsException | Exception thrown when a file is expected to exist but does not. |