Error messages

This is the list of error messages, as found in die() and exit() expressions.

MessageFileLine
'Could not gather sufficient random data'
/lib/random_bytes_libsodium_legacy.php90
'Length must be greater than 0'
/lib/random_bytes_libsodium_legacy.php56
'random_bytes(): $bytes must be an integer'
/lib/random_bytes_libsodium_legacy.php50
'RandomCompat_strlen() expects a string'
/lib/byte_safe_strings.php51
'RandomCompat_strlen() expects a string'
/lib/byte_safe_strings.php74
'RandomCompat_substr(): First argument should be a string'
/lib/byte_safe_strings.php107
'RandomCompat_substr(): Second argument should be an integer'
/lib/byte_safe_strings.php113
'random_bytes(): $bytes must be an integer'
/lib/random_bytes_dev_urandom.php113
'Length must be greater than 0'
/lib/random_bytes_dev_urandom.php119
'Error reading from source device'
/lib/random_bytes_dev_urandom.php187
'There is no suitable CSPRNG installed on your system'
/lib/random.php214
'random_bytes(): $bytes must be an integer'
/lib/random_bytes_libsodium.php50
'Length must be greater than 0'
/lib/random_bytes_libsodium.php56
'Could not gather sufficient random data'
/lib/random_bytes_libsodium.php88
'Environment misconfiguration: ' '/dev/urandom cannot be read.'
/lib/random_bytes_dev_urandom.php70
'random_int(): $min must be an integer'
/lib/random_int.php58
'random_int(): $max must be an integer'
/lib/random_int.php67
'Minimum value must be less than or equal to the maximum value'
/lib/random_int.php78
'random_int: RNG is broken - too many rejections'
/lib/random_int.php162
'Length must be greater than 0'
/lib/random_bytes_mcrypt.php55
'random_bytes(): $bytes must be an integer'
/lib/random_bytes_mcrypt.php49
'Expected an integer.'
/lib/cast_to_int.php72
'Could not gather sufficient random data'
/lib/random_bytes_mcrypt.php76
'Length must be greater than 0'
/lib/random_bytes_com_dotnet.php54
'random_bytes(): $bytes must be an integer'
/lib/random_bytes_com_dotnet.php48
'Could not gather sufficient random data'
/lib/random_bytes_com_dotnet.php88
'COM does not exist'
/lib/random_bytes_com_dotnet.php62
'RandomCompat_substr(): First argument should be a string'
/lib/byte_safe_strings.php165
'RandomCompat_substr(): Third argument should be an integer, or omitted'
/lib/byte_safe_strings.php126
'RandomCompat_substr(): Third argument should be an integer, or omitted'
/lib/byte_safe_strings.php178
'RandomCompat_substr(): Second argument should be an integer'
/lib/byte_safe_strings.php171
255/other/build_phar.php55
255/other/build_phar.php33