errors

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	// contains filtered or unexported fields
}

Error holds data identifying an error that occurred while executing a qframe operation.

func New

func New(operation, reason string, params ...interface{}) Error

New creates a new error instance.

func Propagate

func Propagate(operation string, err error) Error

Propagate propagates an existing error with added context.

func (Error) Error

func (e Error) Error() string

Error returns a string representation of the error.

Jump to

Keyboard shortcuts

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