Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.
   1  <?php
   2  /**
   3   * Exception handler for the Horde_Secret library.
   4   *
   5   * Copyright 2010-2017 Horde LLC (http://www.horde.org/)
   6   *
   7   * See the enclosed file LICENSE for license information (LGPL). If you
   8   * did not receive this file, see http://www.horde.org/licenses/lgpl21.
   9   *
  10   * @author   Michael Slusarz <slusarz@horde.org>
  11   * @category Horde
  12   * @license  http://www.horde.org/licenses/lgpl21 LGPL 2.1
  13   * @package  Secret
  14   */
  15  class Horde_Secret_Exception extends Horde_Exception_Wrapped
  16  {
  17      // Error codes.
  18      const NO_BLOWFISH_LIB = 0; // 0 for BC
  19      const KEY_NOT_STRING = 2;
  20      const KEY_ZERO_LENGTH = 3;
  21  }