serror

package
v0.16.1-beta Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2016 License: Apache-2.0 Imports: 0 Imported by: 305

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(e error, fields ...map[string]interface{}) *snapError

New returns an initialized SnapError. The variadic signature allows fields to optionally be added at construction.

Types

type Fields

type Fields map[string]interface{}

type SnapError

type SnapError interface {
	error
	Fields() map[string]interface{}
	SetFields(map[string]interface{})
}

Jump to

Keyboard shortcuts

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