Display the text box

Collator::getErrorMessage()

« Collator::getErrorCode | Collator::getLocale »
<?php
$collator 
Collator::create(
    
 // string $locale
);

$bool $collator->getAttribute(
    
? // int $attribute
);

$string $collator->getErrorMessage ();
?>
Result
$collator = 'Collator instance'
$bool = false
$string = 'Error getting attribute value: U_ILLEGAL_ARGUMENT_ERROR'
Examples
#1 Collator::getErrorMessage  (/* $locale = "en_US" */
 /* $attribute = 99 */
)
See also
Collator::getAttribute, Collator::getErrorCode, collator_get_error_code