Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrUnsupportedType represents the Unsupported Type error ErrUnsupportedType = errors.New("unsupported type") // ErrTableIsNil represents TableIsNil error ErrTableIsNil = errors.New("table is nil") // ErrKeyMustBeAString represents KeyMustBeAString error ErrKeyMustBeAString = errors.New("key must be a string") // ErrWrongValue represents WrongValue error ErrWrongValue = errors.New("value must be a string, number, boolean or table") // ErrUnexpectedDataLoss represents UnexpectedDataLoss error ErrUnexpectedDataLoss = errors.New("unexpected data loss") // ErrUnexpectedDuplicatedKey represents UnexpectedDuplicatedKey error ErrUnexpectedDuplicatedKey = errors.New("unexpected duplicated key") )
Functions ¶
func TableToString ¶
TableToString convert lua table to the string
func ValueToString ¶
ValueToString convert lua value to the string, return error of occurred
func ValueToStringNoErr ¶
ValueToStringNoErr converts lua value to the string without fire error
func ValuesToString ¶
ValuesToString converts lua values to the string, and error if occurred
func ValuesToStringNoErr ¶
ValuesToStringNoErr converts lua values to the string without fire error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.