errors

package
v0.0.0-...-a67b36e Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrAPI

type ErrAPI struct {
	Status int32
	Err    error
	Msg    string
}

func (ErrAPI) Code

func (err ErrAPI) Code() int32

func (ErrAPI) Error

func (err ErrAPI) Error() string

func (ErrAPI) Info

func (err ErrAPI) Info() string

type ErrApi

type ErrApi interface {
	Code() int32
	Info() string
	Error() string
}

Jump to

Keyboard shortcuts

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