errors

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAlreadyExists

func IsAlreadyExists(err error) bool

Types

type HobbyfarmError

type HobbyfarmError struct {
	Code        int
	Message     string
	Description string
}

func NewAlreadyExists

func NewAlreadyExists(msg string) HobbyfarmError

func (HobbyfarmError) Error

func (h HobbyfarmError) Error() string

Jump to

Keyboard shortcuts

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