messages

package
v0.7.0-alpha1 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UnexpectedStorageFail  = "unexpected error when working with the storage"
	PingFail               = "fail to ping storage"
	ParseKnowledgeBaseFail = "fail to parse knowledge base from file"
)
View Source
const (
	FileNotFound   = "file does not found in the directory"
	WalkInDirFail  = "fail to walk the workspace directory"
	DeleteFileFail = "fail to delete the file"
	CreateFileFail = "fail to create the file"
	CreateDirFail  = "fail to create directory"
	OpenFileFail   = "fail to open the file"
	WriteFileFail  = "fail to write to the file"
	ReadFileFail   = "fail to read from the file"
	DeleteDirFail  = "fail to delete the directory"
)
View Source
const (
	GetKnowledgeBaseFail       = "fail to get the knowledge base"
	DeleteKnowledgeBaseFail    = "fail to delete the knowledge base"
	CreateKnowledgeBaseFail    = "fail to create the knowledge base"
	TomlMarshalFail            = "fail to marshal the entity to the TOML format"
	TomlUnmarshalFail          = "fail to unmarshal the TOML document"
	GetKnowledgeBasesUUIDsFail = "fail to get knowledge bases' UUIDs"
)
View Source
const (
	GetKnowledgeFail     = "fail to get the knowledge base"
	GetKnowledgeMetaFail = "fail to get the knowledge base's meta information"
	UpdateKnowledgeFail  = "fail to update the knowledge base"

	CreateGroupFail = "fail to create the group of the knowledge base"
	GroupNotFound   = "group does not found in the"
	GetGroupFail    = "fail to get the group of the knowledge base"
	UpdateGroupFail = "fail to update the group of the knowledge base"
	RemoveGroupFail = "fail to remove the group of the knowledge base"
	GetGroupsFail   = "fail to get the groups of the knowledge base"

	CreateParameterFail = "fail to create the parameter of the knowledge base"
	GetParameterFail    = "fail to get the parameter of the knowledge base"
	UpdateParameterFail = "fail to update the parameter of the knowledge base"
	RemoveParameterFail = "fail to remove the parameter of the knowledge base"
	GetParametersFail   = "fail to remove the parameters of the knowledge base"

	CreatePatternFail = "fail to create the pattern of the knowledge base"
	GetPatternFail    = "fail to get the pattern of the knowledge base"
	UpdatePatternFail = "fail to update the pattern of the knowledge base"
	RemovePatternFail = "fail to remove the pattern of the knowledge base"
	GetPatternsFail   = "fail to remove the patterns of the knowledge base"

	CreateRuleFail = "fail to create the rule of the knowledge base"
	GetRuleFail    = "fail to get the rule of the knowledge base"
	UpdateRuleFail = "fail to update the rule of the knowledge base"
	RemoveRuleFail = "fail to remove the rule of the knowledge base"
	GetRulesFail   = "fail to remove the rules of the knowledge base"
)
View Source
const (
	TypeIsNotSupportedByStorage = "knowledge base uses a type that is not supported by the storage"
)

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