error

package
v3.6.2+incompatible Latest Latest
Warning

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

Go to latest
Published: May 13, 2015 License: Apache-2.0 Imports: 1 Imported by: 0

README

error

-- import "gopkg.in/Clever/optimus.v3/sources/error"

Usage

type ErrorTable
type ErrorTable struct {
	Stopped bool
}
func New
func New(err error) *ErrorTable

New returns a new Table that returns a given error. Primarily used for testing purposes.

func (*ErrorTable) Err
func (e *ErrorTable) Err() error
func (*ErrorTable) Rows
func (e *ErrorTable) Rows() <-chan optimus.Row
func (*ErrorTable) Stop
func (e *ErrorTable) Stop()

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorTable

type ErrorTable struct {
	Stopped bool
	// contains filtered or unexported fields
}

func New

func New(err error) *ErrorTable

New returns a new Table that returns a given error. Primarily used for testing purposes.

func (*ErrorTable) Err

func (e *ErrorTable) Err() error

func (*ErrorTable) Rows

func (e *ErrorTable) Rows() <-chan optimus.Row

func (*ErrorTable) Stop

func (e *ErrorTable) Stop()

Jump to

Keyboard shortcuts

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