messages

package
v1.2.14 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package messages ...

Package messages ...

Package messages ...

Index

Constants

View Source
const (
	//Timeout indicates IAM_TOKEN exchange request failed due to timeout
	Timeout = "Timeout"
	//EndpointNotReachable indicates IAM_TOKEN exchange request failed due to incorrect endpoint
	EndpointNotReachable = "EndpointNotReachable"
	//CreateVolumeAccessPointFailed indicates if create volume access point failed
	CreateVolumeAccessPointFailed = "CreateVolumeAccessPointFailed"
	//DeleteVolumeAccessPointFailed indicates if delete volume access point from instance is failed
	DeleteVolumeAccessPointFailed = "DeleteVolumeAccessPointFailed"
	//AccessPointWithVPCIDFindFailed indicates if the volume access point is not found with given request VPCID
	AccessPointWithVPCIDFindFailed = "AccessPointWithVPCIDFindFailed"
	//AccessPointWithAPIDFindFailed indicates if the volume access point is not found with given request access point ID
	AccessPointWithAPIDFindFailed = "AccessPointWithAPIDFindFailed"
	//CreateVolumeAccessPointTimedOut indicates the create volume access point is not completed within the specified time out
	CreateVolumeAccessPointTimedOut = "CreateVolumeAccessPointTimedOut"
	//DeleteVolumeAccessPointTimedOut indicates the delete volume access point is not completed within the specified time out
	DeleteVolumeAccessPointTimedOut = "DeleteVolumeAccessPointTimedOut"
	//VolumeAccessPointExist indicates that volume cannot be deleted as there exist volume access point
	VolumeAccessPointExist = "VolumeAccessPointExist"
)

Variables

View Source
var MessagesEn map[string]util.Message

MessagesEn ...

Functions

func GetUserErr

func GetUserErr(code string, err error, args ...interface{}) error

GetUserErr ...

func GetUserError

func GetUserError(code string, err error, args ...interface{}) error

GetUserError ...

func GetUserMsg

func GetUserMsg(code string, args ...interface{}) util.Message

GetUserMsg ...

func InitMessages

func InitMessages() map[string]util.Message

InitMessages ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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