errors

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2019 License: MIT Imports: 2 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 interface {
	Error() string
	SetRoot(string) Error
	GetRoot() string
	GetCode() string
}

Error is an ierror struct used in antibuild

func Import

func Import(err error) Error

Import imports an stderr into the Error type

func NewError

func NewError(message string, code int) Error

NewError returns a new ierror, RootCause should be set yourself

Jump to

Keyboard shortcuts

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