3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
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 +--------------------------------------------------------------------+
13 * Exception thrown when contention over a resource causes process to abort.
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
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.
24 class CRM_Core_Exception_ResourceConflictException
extends \CRM_Core_Exception
{