errors

package
v0.0.0-...-82e7740 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2019 License: MIT Imports: 2 Imported by: 15

README

util-errors GoDoc

Package errors implements functions to manipulate errors

Installation

go get gopkg.in/goyy/goyy.v0/util/errors

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(text string) error

New returns an error that formats as the given text.

func NewNonStructPtr

func NewNonStructPtr(name string) error

NewNonStructPtr returns non-struct pointer error.

func NewNotBlank

func NewNotBlank(name string) error

NewNotBlank returns can't be blank error.

func NewReqNameNotPresent

func NewReqNameNotPresent(name string) error

NewReqNameNotPresent returns http.Request: named not present error.

func Newf

func Newf(format string, v ...interface{}) error

Newf returns an error that formats as the given text.

Types

This section is empty.

Jump to

Keyboard shortcuts

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