Correct bad comment on NotImplementedError.Error()
This commit is contained in:
parent
e8726d24fa
commit
57c1c2071d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue