mirror of
https://github.com/pion/webrtc.git
synced 2025-09-27 11:32:19 +08:00
API: Fix build.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user