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.
   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  }