You are here

class CurrencyMismatchException in Price 2.x

Same name and namespace in other branches
  1. 8 src/Exception/CurrencyMismatchException.php \Drupal\price\Exception\CurrencyMismatchException
  2. 3.x src/Exception/CurrencyMismatchException.php \Drupal\price\Exception\CurrencyMismatchException
  3. 2.0.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

1 file declares its use of CurrencyMismatchException
Price.php in src/Price.php

File

src/Exception/CurrencyMismatchException.php, line 8

Namespace

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

}

Members