Merge pull request #22610 from colemanw/deprecatedUnusedFunction
[civicrm-core.git] / CRM / Core / Exception / ResourceConflictException.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
5 | |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
10 */
11
12 /**
13 * Exception thrown when contention over a resource causes process to abort.
14 *
15 * @param string $message
16 * The human friendly error message.
17 * @param string $error_code
18 * A computer friendly error code. By convention, no space (but underscore allowed).
19 * ex: mandatory_missing, duplicate, invalid_format
20 * @param array $data
21 * Extra params to return. eg an extra array of ids. It is not mandatory, but can help the computer using the api.
22 * Keep in mind the api consumer isn't to be trusted. eg. the database password is NOT a good extra data.
23 */
24 class CRM_Core_Exception_ResourceConflictException extends \CRM_Core_Exception {
25
26 }