debug

package
v2.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertNotError

func AssertNotError(v interface{})

AssertNotError verifies that v is not a cmdkit.Error or *cmdkit.Error. Otherwise it panics.

Types

type UnexpectedError

type UnexpectedError struct {
	Err *cmdkit.Error
}

UnexpectedError wraps a *cmdkit.Error that is being emitted. That type (and its non-pointer version) used to be emitted to indicate an error. That was deprecated in favour of CloseWithError.

func (UnexpectedError) Error

func (err UnexpectedError) Error() string

Error returns the error string

Jump to

Keyboard shortcuts

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