fixed error template as template
This commit is contained in:
parent
e344b5973a
commit
4f269d0f29
@ -247,7 +247,7 @@ func (r *Reader) ExpectOneOfString(str ...string) (string, error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return "", ErrNoMatchFound
|
return "", ErrNoMatchFound.New()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Commit clears the internal buffer and therefore removes all data which were already read.
|
// Commit clears the internal buffer and therefore removes all data which were already read.
|
||||||
|
Loading…
Reference in New Issue
Block a user