Documentation ¶ Index ¶ type PlError func NewErr(file string, pos token.LnColPos, err string) *PlError func (e *PlError) ChainAppend(file string, pos token.LnColPos) *PlError func (e *PlError) Copy() *PlError func (e *PlError) Error() string type PlErrors func (e PlErrors) Error() string type Position Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type PlError ¶ type PlError struct { PosChain []Position `json:"pos_chain"` Err string `json:"error"` } func NewErr ¶ func NewErr(file string, pos token.LnColPos, err string) *PlError func (*PlError) ChainAppend ¶ func (e *PlError) ChainAppend(file string, pos token.LnColPos) *PlError func (*PlError) Copy ¶ func (e *PlError) Copy() *PlError func (*PlError) Error ¶ func (e *PlError) Error() string type PlErrors ¶ type PlErrors []PlError func (PlErrors) Error ¶ func (e PlErrors) Error() string type Position ¶ added in v0.2.2 type Position struct { File string `json:"file"` // filename or filepath Ln int `json:"ln"` Col int `json:"col"` Pos int `json:"pos"` } Source Files ¶ View all Source files error.go Click to show internal directories. Click to hide internal directories.