errors

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GenericError_E_name = map[int32]string{
		0: "GENERICERROR_NONE",
		1: "GENERICERROR_UNKNOWN",
		2: "GENERICERROR_CLOSURES_OPEN",
		3: "GENERICERROR_ALREADY_ON",
		4: "GENERICERROR_DISABLED_FOR_USER_COMMAND",
		5: "GENERICERROR_VEHICLE_NOT_IN_PARK",
		6: "GENERICERROR_UNAUTHORIZED",
		7: "GENERICERROR_NOT_ALLOWED_OVER_TRANSPORT",
	}
	GenericError_E_value = map[string]int32{
		"GENERICERROR_NONE":                       0,
		"GENERICERROR_UNKNOWN":                    1,
		"GENERICERROR_CLOSURES_OPEN":              2,
		"GENERICERROR_ALREADY_ON":                 3,
		"GENERICERROR_DISABLED_FOR_USER_COMMAND":  4,
		"GENERICERROR_VEHICLE_NOT_IN_PARK":        5,
		"GENERICERROR_UNAUTHORIZED":               6,
		"GENERICERROR_NOT_ALLOWED_OVER_TRANSPORT": 7,
	}
)

Enum value maps for GenericError_E.

View Source
var File_errors_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GenericError_E

type GenericError_E int32
const (
	GenericError_E_GENERICERROR_NONE                       GenericError_E = 0
	GenericError_E_GENERICERROR_UNKNOWN                    GenericError_E = 1
	GenericError_E_GENERICERROR_CLOSURES_OPEN              GenericError_E = 2
	GenericError_E_GENERICERROR_ALREADY_ON                 GenericError_E = 3
	GenericError_E_GENERICERROR_DISABLED_FOR_USER_COMMAND  GenericError_E = 4
	GenericError_E_GENERICERROR_VEHICLE_NOT_IN_PARK        GenericError_E = 5
	GenericError_E_GENERICERROR_UNAUTHORIZED               GenericError_E = 6
	GenericError_E_GENERICERROR_NOT_ALLOWED_OVER_TRANSPORT GenericError_E = 7
)

func (GenericError_E) Descriptor

func (GenericError_E) Enum

func (x GenericError_E) Enum() *GenericError_E

func (GenericError_E) EnumDescriptor deprecated

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

Deprecated: Use GenericError_E.Descriptor instead.

func (GenericError_E) Number

func (GenericError_E) String

func (x GenericError_E) String() string

func (GenericError_E) Type

type NominalError

type NominalError struct {
	GenericError GenericError_E `protobuf:"varint,1,opt,name=genericError,proto3,enum=Errors.GenericError_E" json:"genericError,omitempty"`
	// contains filtered or unexported fields
}

func (*NominalError) Descriptor deprecated

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

Deprecated: Use NominalError.ProtoReflect.Descriptor instead.

func (*NominalError) GetGenericError

func (x *NominalError) GetGenericError() GenericError_E

func (*NominalError) ProtoMessage

func (*NominalError) ProtoMessage()

func (*NominalError) ProtoReflect

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

func (*NominalError) Reset

func (x *NominalError) Reset()

func (*NominalError) String

func (x *NominalError) String() string

Jump to

Keyboard shortcuts

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