You are here

MerciException.php in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3

Contains EntityValidatorException.

File

merci_core/includes/MerciException.php
View source
<?php

/**
 * @file
 * Contains EntityValidatorException.
 */
class MerciException extends Exception {
  protected $field;
  protected $delta;
  protected $data;
  function __construct($msg, $field = '', $data = array()) {
    parent::__construct($msg);
    $this->field = $field;
    $this->data = $data;
  }
  public function getField() {
    return $this->field;
  }
  public function getData() {
    return $this->data;
  }

}

Classes

Namesort descending Description
MerciException @file Contains EntityValidatorException.