class CurrencyMismatchException in Price 3.0.x
Same name and namespace in other branches
- 8 src/Exception/CurrencyMismatchException.php \Drupal\price\Exception\CurrencyMismatchException
- 3.x src/Exception/CurrencyMismatchException.php \Drupal\price\Exception\CurrencyMismatchException
- 2.0.x src/Exception/CurrencyMismatchException.php \Drupal\price\Exception\CurrencyMismatchException
- 2.x src/Exception/CurrencyMismatchException.php \Drupal\price\Exception\CurrencyMismatchException
Thrown when trying to operate on monetary values with different currencies.
Hierarchy
- class \Drupal\price\Exception\CurrencyMismatchException extends \Drupal\price\Exception\InvalidArgumentException
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\ExceptionView source
class CurrencyMismatchException extends \InvalidArgumentException {
}