Error implements the error interface
()
| 59 | |
| 60 | // Error implements the error interface |
| 61 | func (e *BuildError) Error() string { |
| 62 | if e.StateID != InvalidState { |
| 63 | return fmt.Sprintf("NFA build error at state %d: %s", e.StateID, e.Message) |
| 64 | } |
| 65 | return fmt.Sprintf("NFA build error: %s", e.Message) |
| 66 | } |
no outgoing calls