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
Click to show internal directories.
Click to hide internal directories.