Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 310 and 401] [Versions 39 and 401]

   1  <?php
   2  
   3  /**
   4   * This file is part of FPDI
   5   *
   6   * @package   setasign\Fpdi
   7   * @copyright Copyright (c) 2020 Setasign GmbH & Co. KG (https://www.setasign.com)
   8   * @license   http://opensource.org/licenses/mit-license The MIT License
   9   */
  10  
  11  namespace setasign\Fpdi\PdfParser;
  12  
  13  use setasign\Fpdi\FpdiException;
  14  
  15  /**
  16   * Exception for the pdf parser class
  17   */
  18  class PdfParserException extends FpdiException
  19  {
  20      /**
  21       * @var int
  22       */
  23      const NOT_IMPLEMENTED = 0x0001;
  24  
  25      /**
  26       * @var int
  27       */
  28      const IMPLEMENTED_IN_FPDI_PDF_PARSER = 0x0002;
  29  
  30      /**
  31       * @var int
  32       */
  33      const INVALID_DATA_TYPE = 0x0003;
  34  
  35      /**
  36       * @var int
  37       */
  38      const FILE_HEADER_NOT_FOUND = 0x0004;
  39  
  40      /**
  41       * @var int
  42       */
  43      const PDF_VERSION_NOT_FOUND = 0x0005;
  44  
  45      /**
  46       * @var int
  47       */
  48      const INVALID_DATA_SIZE = 0x0006;
  49  }