errcodes

package
v0.0.0-...-ebe581b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// 00xx common error
	ErrCodeInternal = "PX0001" // internal error
	ErrCodeParam    = "PX0002" // parameters error
	ErrCodeConfig   = "PX0003" // configuration error
	ErrCodeNotFound = "PX0004" // target not found
	ErrCodeEncoding = "PX0005" // encoding error
	ErrCodeUnknown  = "PX0006" // unknown error

	// mpc errors
	ErrCodeTooMuchTasks          = "PX0011" // the number of task reach upper-limit
	ErrCodeTaskExists            = "PX0012" // task already exists
	ErrCodePSISamplesFile        = "PX0013" // mistake happened when PSI read IDs from file
	ErrCodePSIEncryptSampleIDSet = "PX0014" // mistake happened when PSI encrypts SampleIDSet
	ErrCodePSIReEncryptIDSet     = "PX0015" // mistake happened when PSI encrypts EncryptedSampleIDSet for other party
	ErrCodePSIIntersectParts     = "PX0016" // mistake happened when PSI intersects all parts
	ErrCodePSIRearrangeFile      = "PX0016" // mistake happened when PSI rearranges file with intersected IDs
	ErrCodeRPCFindNoPeer         = "PX0017" // find no peer when do rpc request
	ErrCodeRPCConnect            = "PX0018" // failed to get connection
	ErrCodeTaskDeleted           = "PX0019" // failed to delete task
	ErrCodeDataSetSplit          = "PX0020" // failed to split data set
	ErrCodeGetTrainSet           = "PX0021" // failed to get training set when evaluate model
	ErrCodeGetPredictSet         = "PX0022" // failed to split predicting set when evaluate model
	ErrCodeStartTask             = "PX0023" // failed to start task
	ErrCodeTriggerTooMuch        = "PX0024" // LiveEvaluator be triggered more than once for same pause round
)

error code list

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL