github.com/ydb-platform/ydb-go-sdk/v3@v3.89.2/internal/table/errors.go (about) 1 package table 2 3 import ( 4 "errors" 5 6 "github.com/ydb-platform/ydb-go-sdk/v3/internal/xerrors" 7 ) 8 9 var ( 10 errNilClient = xerrors.Wrap(errors.New("table client is not initialized")) 11 12 // errClosedClient returned by a Client instance to indicate 13 // that Client is closed early and not able to complete requested operation. 14 errClosedClient = xerrors.Wrap(errors.New("table client closed early")) 15 16 // errSessionClosed returned by a Client instance to indicate that 17 // requested session is closed early. 18 errSessionClosed = xerrors.Wrap(errors.New("session closed early")) 19 20 // errParamsRequired returned by a Client instance to indicate that required params is not defined 21 errParamsRequired = xerrors.Wrap(errors.New("params required")) 22 )