Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. NegativeNumberException.php

class NegativeNumberException

Exception thrown when attempting to perform an unsupported operation, such as a square root, on a negative number.

Hierarchy

  • class \Brick\Math\Exception\MathException extends \Brick\Math\Exception\Exception
    • class \Brick\Math\Exception\NegativeNumberException extends \Brick\Math\Exception\MathException

Expanded class hierarchy of NegativeNumberException

2 files declare their use of NegativeNumberException
BigDecimal.php in vendor/brick/math/src/BigDecimal.php
BigInteger.php in vendor/brick/math/src/BigInteger.php

File

vendor/brick/math/src/Exception/NegativeNumberException.php, line 10

Namespace

Brick\Math\Exception
View source
class NegativeNumberException extends MathException {

}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal