Correct bad comment on NotImplementedError.Error()

This commit is contained in:
max furman 2022-11-07 15:37:17 -08:00
parent e8726d24fa
commit 57c1c2071d
No known key found for this signature in database

View file

@ -70,7 +70,7 @@ type NotImplementedError struct {
Message string
}
// NotImplementedError implements the error interface.
// Error implements the error interface.
func (e NotImplementedError) Error() string {
if e.Message != "" {
return e.Message