Documentation ¶
Index ¶
Constants ¶
View Source
const ( InvalidAST = iota InvalidCommand Friendly Unexpected = 999 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DicelangError ¶
DicelangError represents a custom error thrown by Dicelang
func NewDicelangError ¶
func NewDicelangError(text string, code int32, inner error) *DicelangError
NewDicelangError creates a new DiceLangError
type LexError ¶
LexError represents an error occured during parsing of a dicelang statement.
func NewLexError ¶
NewLexError creates a new LexError
Click to show internal directories.
Click to hide internal directories.