src/LdapTools/Enums/AD/ResponseCode.php
public static function getMessageForError($value)
    {
        if (self::isValidName($value)) {
            $value = self::getNameValue($value);
        }

        return isset(self::$messages[$value]) ? self::$messages[$value] : null;
    }
public static function getMessageForError($value)
    {
        if (self::isValidName($value)) {
            $value = self::getNameValue($value);
        }

        return isset(self::$messages[$value]) ? self::$messages[$value] : null;
    }
public static function getMessageForError ( $ value ) { if ( self :: isValidName ( $ value ) ) { $ value = self :: getNameValue ( $ value ) ; } return isset ( self :: $ messages [ $ value ] ) ? self :: $ messages [ $ value ] : null ; }
Get the helpful error message for a specific error if it exists.

@param mixed $value
@return string|null
Get the helpful error message for a specific error if it exists .