errorcode

package
v0.85.5 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ActionPlatformErrorCode_name = map[int32]string{
		0:    "UNSPECIFIED",
		1:    "INTERNAL_ERROR",
		2:    "ACTION_ERROR",
		3:    "CONNECTION_ERROR",
		4:    "SIGNATURE_KEY_NOT_FOUND",
		5:    "SIGNATURE_ERROR",
		6:    "EXPIRED_TASK",
		7:    "MISMATCHED_ORG_ID",
		8:    "MISMATCHED_RUNNER_ID",
		4012: "DEPRECATED_INTEGRATION_ERR_UNEXPECTED",
		4009: "DEPRECATED_INTEGRATION_ERR_ACTION",
		4001: "DEPRECATED_INTEGRATION_ERR_CONNECTION",
	}
	ActionPlatformErrorCode_value = map[string]int32{
		"UNSPECIFIED":                           0,
		"INTERNAL_ERROR":                        1,
		"ACTION_ERROR":                          2,
		"CONNECTION_ERROR":                      3,
		"SIGNATURE_KEY_NOT_FOUND":               4,
		"SIGNATURE_ERROR":                       5,
		"EXPIRED_TASK":                          6,
		"MISMATCHED_ORG_ID":                     7,
		"MISMATCHED_RUNNER_ID":                  8,
		"DEPRECATED_INTEGRATION_ERR_UNEXPECTED": 4012,
		"DEPRECATED_INTEGRATION_ERR_ACTION":     4009,
		"DEPRECATED_INTEGRATION_ERR_CONNECTION": 4001,
	}
)

Enum value maps for ActionPlatformErrorCode.

View Source
var File_datadog_privateactionrunner_error_code_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ActionPlatformError

type ActionPlatformError struct {
	ErrorCode         ActionPlatformErrorCode `` /* 156-byte string literal not displayed */
	Retryable         bool                    `protobuf:"varint,2,opt,name=retryable,proto3" json:"retryable,omitempty"`
	Message           string                  `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	ExternalMessage   string                  `protobuf:"bytes,4,opt,name=external_message,json=externalMessage,proto3" json:"external_message,omitempty"`
	DependencyMessage string                  `protobuf:"bytes,5,opt,name=dependency_message,json=dependencyMessage,proto3" json:"dependency_message,omitempty"`
	// contains filtered or unexported fields
}

func (*ActionPlatformError) Descriptor deprecated

func (*ActionPlatformError) Descriptor() ([]byte, []int)

Deprecated: Use ActionPlatformError.ProtoReflect.Descriptor instead.

func (*ActionPlatformError) GetDependencyMessage

func (x *ActionPlatformError) GetDependencyMessage() string

func (*ActionPlatformError) GetErrorCode

func (x *ActionPlatformError) GetErrorCode() ActionPlatformErrorCode

func (*ActionPlatformError) GetExternalMessage

func (x *ActionPlatformError) GetExternalMessage() string

func (*ActionPlatformError) GetMessage

func (x *ActionPlatformError) GetMessage() string

func (*ActionPlatformError) GetRetryable

func (x *ActionPlatformError) GetRetryable() bool

func (*ActionPlatformError) ProtoMessage

func (*ActionPlatformError) ProtoMessage()

func (*ActionPlatformError) ProtoReflect

func (x *ActionPlatformError) ProtoReflect() protoreflect.Message

func (*ActionPlatformError) Reset

func (x *ActionPlatformError) Reset()

func (*ActionPlatformError) String

func (x *ActionPlatformError) String() string

type ActionPlatformErrorCode

type ActionPlatformErrorCode int32

These errors don't map to an HTTP status code. Their goal is to make explicit how our API can error and to have a centralized repositories of things that can go wrong that a client should know about. Every ErrorCode should map to a human-readable message.

const (
	ActionPlatformErrorCode_UNSPECIFIED             ActionPlatformErrorCode = 0
	ActionPlatformErrorCode_INTERNAL_ERROR          ActionPlatformErrorCode = 1
	ActionPlatformErrorCode_ACTION_ERROR            ActionPlatformErrorCode = 2
	ActionPlatformErrorCode_CONNECTION_ERROR        ActionPlatformErrorCode = 3
	ActionPlatformErrorCode_SIGNATURE_KEY_NOT_FOUND ActionPlatformErrorCode = 4
	ActionPlatformErrorCode_SIGNATURE_ERROR         ActionPlatformErrorCode = 5
	ActionPlatformErrorCode_EXPIRED_TASK            ActionPlatformErrorCode = 6
	ActionPlatformErrorCode_MISMATCHED_ORG_ID       ActionPlatformErrorCode = 7
	ActionPlatformErrorCode_MISMATCHED_RUNNER_ID    ActionPlatformErrorCode = 8
	// Deprecated: Marked as deprecated in datadog/privateactionrunner/error_code.proto.
	ActionPlatformErrorCode_DEPRECATED_INTEGRATION_ERR_UNEXPECTED ActionPlatformErrorCode = 4012
	// Deprecated: Marked as deprecated in datadog/privateactionrunner/error_code.proto.
	ActionPlatformErrorCode_DEPRECATED_INTEGRATION_ERR_ACTION ActionPlatformErrorCode = 4009
	// Deprecated: Marked as deprecated in datadog/privateactionrunner/error_code.proto.
	ActionPlatformErrorCode_DEPRECATED_INTEGRATION_ERR_CONNECTION ActionPlatformErrorCode = 4001
)

func (ActionPlatformErrorCode) Descriptor

func (ActionPlatformErrorCode) Enum

func (ActionPlatformErrorCode) EnumDescriptor deprecated

func (ActionPlatformErrorCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use ActionPlatformErrorCode.Descriptor instead.

func (ActionPlatformErrorCode) Number

func (ActionPlatformErrorCode) String

func (x ActionPlatformErrorCode) String() string

func (ActionPlatformErrorCode) Type

Jump to

Keyboard shortcuts

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