MCPcopy
hub / github.com/qax-os/excelize / newInvalidNameError

Function newInvalidNameError

errors.go:278–280  ·  view source on GitHub ↗

newInvalidNameError defined the error message on receiving the invalid defined name or table name.

(name string)

Source from the content-addressed store, hash-verified

276// newInvalidNameError defined the error message on receiving the invalid
277// defined name or table name.
278func newInvalidNameError(name string) error {
279 return fmt.Errorf("invalid name %q, the name should be starts with a letter or underscore, can not include a space or character, and can not conflict with an existing name in the workbook", name)
280}
281
282// newInvalidOptionalValue defined the error message on receiving the invalid
283// optional value.

Callers 4

TestAddTableFunction · 0.85
TestDeleteTableFunction · 0.85
checkDefinedNameFunction · 0.85
TestStreamTableFunction · 0.85

Calls

no outgoing calls

Tested by 3

TestAddTableFunction · 0.68
TestDeleteTableFunction · 0.68
TestStreamTableFunction · 0.68