Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Error ¶
type Error struct {
Message string `json:"message"`
Stack string `json:"stack,omitempty"`
Nodes []ast.Node `json:"-"`
Source *source.Source `json:"source,omitempty"`
Positions []uint `json:"positions,omitempty"`
Locations []location.SourceLocation `json:"locations,omitempty"`
OriginalError error `json:"-"`
Path []interface{} `json:"path,omitempty"`
}
func NewErrorWithPath ¶
func NewSyntaxError ¶
func (Error) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (Error) MarshalTinyJSON ¶
MarshalTinyJSON supports tinyjson.Marshaler interface
func (*Error) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
func (*Error) UnmarshalTinyJSON ¶
UnmarshalTinyJSON supports tinyjson.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.