github.com/hirochachacha/plua@v0.0.0-20170217012138-c82f520cc725/compiler/error.go (about) 1 package compiler 2 3 import "fmt" 4 5 type Error struct { 6 Err error 7 } 8 9 func (e Error) Error() string { 10 return fmt.Sprintf("compiler: %v", e.Err) 11 }