Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvNumber ¶
ConvNumber converts a string to a number. This is intended for internal use by various Lua related packages, you should not use this unless you know what you are doing.
func RaiseExisting ¶
RaiseExisting converts an error to a Error then panics with it.
Types ¶
type ErrType ¶
type ErrType int
const ( ErrTypUndefined ErrType = iota // Anything that does not fit a category. ErrTypMajorInternal // Errors that should not happen, ever. ErrTypGenLexer // Generic syntax errors caught by the lexer. ErrTypGenSyntax // Generic syntax errors. ErrTypGenRuntime // Generic run time errors. ErrTypBinLoader // An error encountered while loading a binary chunk. ErrTypBinDumper ErrTypWrapped // An error from some other library or native API code wrapped into a standard Error. ErrTypEvil // If some idiot panics with a non-error value, it will be wrapped with this type. )
Error types.
Click to show internal directories.
Click to hide internal directories.