Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnquoteContext = errors.New("use of unquote outside of quasiquote context")
Functions ¶
Types ¶
type BadCharError ¶
type BadCharError rune
BadCharError is an error describing an invalid character encountered during parsing. It is typically set as the Err field of a SyntaxError.
func (BadCharError) Error ¶
func (r BadCharError) Error() string
type SyntaxError ¶
SyntaxError is an error returned when the INI parser encounters any syntax it does not understand. It contains the line, column, any other error encountered, and a description of the syntax error.
func (*SyntaxError) Error ¶
func (s *SyntaxError) Error() string
type UnclosedError ¶
type UnclosedError rune
UnclosedError is an error describing an unclosed bracket from {, (, [, and <. It is typically set as the Err field of a SyntaxError.
Its value is expected to be one of the above opening braces.
func (UnclosedError) Error ¶
func (u UnclosedError) Error() string
func (UnclosedError) Expecting ¶
func (u UnclosedError) Expecting() rune
Expecting returns the rune that was expected but not found for the UnclosedError's rune value.
Click to show internal directories.
Click to hide internal directories.