e

package
v0.0.0-...-83c1a15 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlreadyExistsError

type AlreadyExistsError struct {
	*BaseResponseError
}

func NewAlreadyExistsError

func NewAlreadyExistsError(err error) *AlreadyExistsError

type BaseResponseError

type BaseResponseError struct {
	// contains filtered or unexported fields
}

func NewBaseResponseError

func NewBaseResponseError(msg string, code codes.Code) *BaseResponseError

func (*BaseResponseError) Code

func (e *BaseResponseError) Code() codes.Code

func (*BaseResponseError) Err

func (e *BaseResponseError) Err() error

func (*BaseResponseError) Error

func (e *BaseResponseError) Error() string

func (*BaseResponseError) String

func (e *BaseResponseError) String() string

type CodeUnauthenticatedError

type CodeUnauthenticatedError struct {
	*BaseResponseError
}

func NewUnauthenticatedError

func NewUnauthenticatedError(err error) *CodeUnauthenticatedError

type InternalError

type InternalError struct {
	*BaseResponseError
}

func NewInternalError

func NewInternalError(err error) *InternalError

type InvalidArgumentError

type InvalidArgumentError struct {
	*BaseResponseError
}

func NewInvalidArgumentError

func NewInvalidArgumentError(err error) *InvalidArgumentError

type NotFoundError

type NotFoundError struct {
	*BaseResponseError
}

func NewNotFoundError

func NewNotFoundError(err error) *NotFoundError

type PermissionDeniedError

type PermissionDeniedError struct {
	*BaseResponseError
}

func NewPermissionDeniedError

func NewPermissionDeniedError(err error) *PermissionDeniedError

type ResponseError

type ResponseError interface {
	Error() string
	Err() error
	Code() codes.Code
	String() string
}

type UnknownError

type UnknownError struct {
	*BaseResponseError
}

func NewUnknownError

func NewUnknownError(err error) *UnknownError

Jump to

Keyboard shortcuts

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