errors

package
v3.1.0-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDuplicateDataExisted = errors.New("duplicated data existed")

ErrDuplicateDataExisted returns an error cause the functionality is not supported

View Source
var ErrNotImplementedFunctionality = errors.New("not implemented functionality")

ErrNotImplementedFunctionality returns an error cause the functionality is not implemented

View Source
var ErrNotSuppportedFunctionality = errors.New("not supported functionality")

ErrNotSuppportedFunctionality returns an error cause the functionality is not supported

View Source
var New = defaultHandler.New()

New returns new error with message

Functions

func SetDefaultHandler

func SetDefaultHandler(handler ErrorsInterface)

SetDefaultHandler set error handler

Types

type ErrorsInterface

type ErrorsInterface interface {
	New() func(message string) error
}

Jump to

Keyboard shortcuts

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