tableauio / tableau

A modern configuration converter based on Protobuf (proto3).
https://tableauio.github.io
MIT License
32 stars 6 forks source link

error: add new ecode for "no cell found with digit suffix" #111

Open wenchy opened 3 months ago

wenchy commented 3 months ago
Debugging: 
        Module: confgen
        BookName: conf/client/Common/DB/excel/MartialPotential/MartialPotential.xlsx
        SheetName: PotentialLevel
        DataCellPos: B5
        DataCell: 0
        PBMessage: MartialPotentialLevelConf
        PBFieldName: protoconf.MartialPotentialLevelConf.Potential.Level.upgrade_map
        PBFieldType: map<int32, protoconf.MartialPotentialLevelConf.Potential.Level.Cost>
        PBFieldOpts: name:"Upgrade"  key:"Type"  layout:LAYOUT_HORIZONTAL  sep:","  subsep:":"
        ColumnName: RealLevel
        Reason: no cell found with digit suffix
github.com/tableauio/tableau/xerrors.ErrorKV
        /root/go/pkg/mod/github.com/tableauio/tableau@v0.10.8-0.20240603024028-85bb0f888848/xerrors/error.go:36
github.com/tableauio/tableau/xerrors.WrapKV
        /root/go/pkg/mod/github.com/tableauio/tableau@v0.10.8-0.20240603024028-85bb0f888848/xerrors/error.go:23
github.com/tableauio/tableau/internal/confgen.ParseMessage
        /root/go/pkg/mod/github.com/tableauio/tableau@v0.10.8-0.20240603024028-85bb0f888848/internal/confgen/parser.go:94
github.com/tableauio/tableau/load.loadOrigin
        /root/go/pkg/mod/github.com/tableauio/tableau@v0.10.8-0.20240603024028-85bb0f888848/load/load.go:108
github.com/tableauio/tableau/load.Load
        /root/go/pkg/mod/github.com/tableauio/tableau@v0.10.8-0.20240603024028-85bb0f888848/load/load.go:25