returncodes

package
v0.0.0-...-0d633f8 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ReturnCodes map[ReturnCode]string = make(map[ReturnCode]string)

Functions

func InitReturnCodes

func InitReturnCodes(lang language.Tag)

Types

type ReturnCode

type ReturnCode int
const (
	SUCCESS ReturnCode = (iota + 1) * 5
	INSTANCE_TOKEN_IS_NOT_FOUND
	OBJECT_NAME_IS_NOT_FOUND
	STATUS_NAME_IS_NOT_FOUND_FOR_OBJECT
	NOT_ALL_PREVIOS_MANDATORY_STATUSES_ARE_SET
	NO_ONE_PREVIOS_OPTIONAL_STATUSES_ARE_SET
	INSTANCE_IS_NOT_FINISHED
	INSTANCE_IS_FINISHED
	STATUS_IS_NOT_ACCORDING_TO_INSTANCE
	INSTANCE_IS_TIMEOUT
	INSTANCE_IS_NOT_TIMEOUT
	ALL_MANDATORY_ARE_SET
	NOT_ALL_MANDATORY_ARE_SET
	STATUS_IS_ALREADY_SET
	DATABASE_ERROR
	DB_IS_NOT_UPDATED
	AT_LEAST_ONE_NEXT_STATUS_IS_SET
	STATUS_IS_SET
	STATUS_IS_NOT_SET
	PARAMS_PARSING_IS_FAILED
)

Jump to

Keyboard shortcuts

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