You are here

class CurrencyMismatchException in Price 8

Same name and namespace in other branches
  1. 3.x src/Exception/CurrencyMismatchException.php \Drupal\price\Exception\CurrencyMismatchException
  2. 2.0.x src/Exception/CurrencyMismatchException.php \Drupal\price\Exception\CurrencyMismatchException
  3. 2.x src/Exception/CurrencyMismatchException.php \Drupal\price\Exception\CurrencyMismatchException
  4. 3.0.x src/Exception/CurrencyMismatchException.php \Drupal\price\Exception\CurrencyMismatchException

Thrown when trying to operate on monetary values with different currencies.

Hierarchy

Expanded class hierarchy of CurrencyMismatchException

2 files declare their use of CurrencyMismatchException
Price.php in src/Price.php
PriceModified.php in src/PriceModified.php

File

src/Exception/CurrencyMismatchException.php, line 8

Namespace

Drupal\price\Exception
View source
class CurrencyMismatchException extends \InvalidArgumentException {

}

Members