Documentation ¶
Index ¶
- func GetPosition(ast MalType) *Position
- func NewGoError(fFullName string, err interface{}) error
- type LispError
- func (e LispError) Error() string
- func (e LispError) ErrorValue() MalType
- func (e LispError) Is(target error) bool
- func (e LispError) LispPrint(Pr_str func(MalType, bool) string) string
- func (e LispError) MarshalHashMap() (MalType, error)
- func (e LispError) Position() *Position
- func (e LispError) Unwrap() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPosition ¶
func GetPosition(ast MalType) *Position
func NewGoError ¶
NewGoError is used to create a LispError on errors returned by go functions
Types ¶
type LispError ¶
type LispError struct {
// contains filtered or unexported fields
}
Errors/Exceptions
func NewLispError ¶
func NewLispError(err MalType, ast MalType) LispError
func (LispError) ErrorValue ¶
func (e LispError) ErrorValue() MalType
func (LispError) MarshalHashMap ¶
Click to show internal directories.
Click to hide internal directories.