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

Breadcrumb

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

class RandomSourceException

Thrown to indicate that the source of random data encountered an error

This exception is used mostly to indicate that random_bytes() or random_int() threw an exception. However, it may be used for other sources of random data.

Hierarchy

  • class \Ramsey\Uuid\Exception\RandomSourceException extends \RuntimeException implements \Ramsey\Uuid\Exception\UuidExceptionInterface

Expanded class hierarchy of RandomSourceException

3 files declare their use of RandomSourceException
DefaultTimeGenerator.php in vendor/ramsey/uuid/src/Generator/DefaultTimeGenerator.php
RandomBytesGenerator.php in vendor/ramsey/uuid/src/Generator/RandomBytesGenerator.php
RandomNodeProvider.php in vendor/ramsey/uuid/src/Provider/Node/RandomNodeProvider.php

File

vendor/ramsey/uuid/src/Exception/RandomSourceException.php, line 25

Namespace

Ramsey\Uuid\Exception
View source
class RandomSourceException extends PhpRuntimeException implements UuidExceptionInterface {

}
RSS feed
Powered by Drupal