errors

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2013 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Getting a stacktrace from Go errors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decorated

func Decorated(err error) error

Decorate an error

func New

func New(message string) error

Create a brand new error using the provided message

func Newf

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

Create a brand new error using the provided format and arguments

Types

type StackError

type StackError struct {
	Nested     error
	StackTrace string
}

An error and the corresponding stacktrace

func (StackError) Error

func (self StackError) Error() string

Jump to

Keyboard shortcuts

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