Merge pull request #18397 from swastikpareek/issue-1987-fix-isFrontPage-function
[civicrm-core.git] / CRM / Core / Exception / ResourceConflictException.php
CommitLineData
c9f05fb3 1<?php
2/*
3 +--------------------------------------------------------------------+
f452d72c 4 | Copyright CiviCRM LLC. All rights reserved. |
c9f05fb3 5 | |
f452d72c
CW
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 |
c9f05fb3 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 */
24class CRM_Core_Exception_ResourceConflictException extends \CRM_Core_Exception {
25
26}