MDL-66928 core: Move request dirs to system tmp instead of localcache
[moodle.git] / repository / dropbox / classes / rate_limit_exception.php
blob060b610b7d7e760edc5f0ed68f99b00ef1bcd1ec
1 <?php
2 // This file is part of Moodle - http://moodle.org/
3 //
4 // Moodle is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // Moodle is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
14 // You should have received a copy of the GNU General Public License
15 // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
17 /**
18 * Dropbox Rate Limit Encountered.
20 * @since Moodle 3.2
21 * @package repository_dropbox
22 * @copyright Andrew Nicols <andrew@nicols.co.uk>
23 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
26 namespace repository_dropbox;
28 defined('MOODLE_INTERNAL') || die();
30 /**
31 * Dropbox Rate Limit Encountered.
33 * @package repository_dropbox
34 * @copyright Andrew Nicols <andrew@nicols.co.uk>
35 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
37 class rate_limit_exception extends dropbox_exception {
38 /**
39 * Constructor for rate_limit_exception.
41 public function __construct() {
42 parent::__construct('Rate limit hit');