errors

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2016 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUnfinishedBlockError

func NewUnfinishedBlockError(name string, it scanner.Token) error

func NewUnfinishedCmdError

func NewUnfinishedCmdError(name string, it scanner.Token) error

func NewUnfinishedListError

func NewUnfinishedListError(name string, it scanner.Token) error

Types

type NashError

type NashError struct {
	// contains filtered or unexported fields
}

func NewError

func NewError(format string, arg ...interface{}) *NashError

func NewEvalError added in v0.2.1

func NewEvalError(path string, node ast.Node, format string, arg ...interface{}) *NashError

func (*NashError) Error

func (e *NashError) Error() string

func (*NashError) SetReason

func (e *NashError) SetReason(format string, arg ...interface{})

Jump to

Keyboard shortcuts

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