serror

package
Version: 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: 274

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{})
}

Source Files

Jump to

Keyboard shortcuts

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