errors

package
v0.0.0-...-47bb31f Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Errors_MissingName    = "Sms_MissingName"
	Errors_ContentMissing = "Sms_ContentMissing"
)

Variables

View Source
var (
	Sms_name = map[int32]string{
		0: "MissingName",
		1: "ContentMissing",
	}
	Sms_value = map[string]int32{
		"MissingName":    0,
		"ContentMissing": 1,
	}
)

Enum value maps for Sms.

View Source
var File_api_sms_v1_errors_errors_proto protoreflect.FileDescriptor

Functions

func IsContentMissing

func IsContentMissing(err error) bool

func IsMissingName

func IsMissingName(err error) bool

Types

type Sms

type Sms int32
const (
	Sms_MissingName    Sms = 0
	Sms_ContentMissing Sms = 1
)

func (Sms) Descriptor

func (Sms) Descriptor() protoreflect.EnumDescriptor

func (Sms) Enum

func (x Sms) Enum() *Sms

func (Sms) EnumDescriptor deprecated

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

Deprecated: Use Sms.Descriptor instead.

func (Sms) Number

func (x Sms) Number() protoreflect.EnumNumber

func (Sms) String

func (x Sms) String() string

func (Sms) Type

func (Sms) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

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