/// <summary> /// Creates a string when enumerating on an invalid value. /// </summary> /// <param name="type">The type of the value.</param> /// <returns>An error string.</returns> public static string CannotEnumerate(LuaValueType type) { return string.Format(Resources.CannotEnumerate, type.ToString().ToLower()); }
/// <summary> /// Creates a string when performing arithmetic on an invalid value. /// </summary> /// <param name="type">The type of the value.</param> /// <returns>An error string.</returns> public static string CannotArithmetic(LuaValueType type) { return string.Format(Resources.CannotArithmetic, type.ToString().ToLower()); }
/// <summary> /// Creates a string when indexing on an invalid value. /// </summary> /// <param name="type">The type of the value.</param> /// <returns>An error string.</returns> public static string CannotIndex(LuaValueType type) { return string.Format(Resources.CannotIndex, type.ToString().ToLower()); }
/// <summary> /// Creates a string when enumerating on an invalid value. /// </summary> /// <param name="type">The type of the value.</param> /// <returns>An error string.</returns> public static string CannotEnumerate(LuaValueType type) { return(string.Format(Resources.CannotEnumerate, type.ToString().ToLower())); }
/// <summary> /// Creates a string when performing arithmetic on an invalid value. /// </summary> /// <param name="type">The type of the value.</param> /// <returns>An error string.</returns> public static string CannotArithmetic(LuaValueType type) { return(string.Format(Resources.CannotArithmetic, type.ToString().ToLower())); }
/// <summary> /// Creates a string when indexing on an invalid value. /// </summary> /// <param name="type">The type of the value.</param> /// <returns>An error string.</returns> public static string CannotIndex(LuaValueType type) { return(string.Format(Resources.CannotIndex, type.ToString().ToLower())); }