MCPcopy Create free account
hub / github.com/akio/rosgo / NewSyntaxError

Function NewSyntaxError

gengo/parser.go:28–34  ·  view source on GitHub ↗
(fullName string, line int, message string)

Source from the content-addressed store, hash-verified

26}
27
28func NewSyntaxError(fullName string, line int, message string) *SyntaxError {
29 self := &SyntaxError{}
30 self.FullName = fullName
31 self.Line = line
32 self.Message = message
33 return self
34}
35
36func (e *SyntaxError) Error() string {
37 return fmt.Sprintf("[%s@%d] %s", e.FullName, e.Line, e.Message)

Callers 1

LoadMsgFromStringMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected