common\Language::err PHP Method

err() public static method

This only implements the key because the other parameters differ between the front- and backend.
public static err ( $key ) : string
$key
return string
    public static function err($key)
    {
        return self::callLanguageFunction('err', [$key]);
    }