API: Fix build.

This commit is contained in:
backkem
2018-08-06 20:01:52 +02:00
committed by Sean DuBois
parent c85cded582
commit b9d7aa95b8
3 changed files with 12 additions and 8 deletions

View File

@@ -101,7 +101,7 @@ type TypeError struct {
Err error
}
func (e *SyntaxError) Error() string {
func (e *TypeError) Error() string {
return fmt.Sprintf("type error: %v", e.Err)
}
@@ -115,7 +115,7 @@ type OperationError struct {
Err error
}
func (e *SyntaxError) Error() string {
func (e *OperationError) Error() string {
return fmt.Sprintf("operation error: %v", e.Err)
}