Skip to content

Commit

Permalink
docs for ErrFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Nov 22, 2020
1 parent 568c053 commit 79a8728
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ func (ens *ErrNotStringer) Error() string {
return fmt.Sprintf("hashstructure: %s has hash:\"string\" set, but does not implement fmt.Stringer", ens.Field)
}

// ErrFormat is returned when an invalid format is given to the Hash function.
type ErrFormat struct{}

func (*ErrFormat) Error() string {
Expand Down

0 comments on commit 79a8728

Please sign in to comment.