diff options
Diffstat (limited to 'errors.go')
-rw-r--r-- | errors.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -76,6 +76,10 @@ func (e *DecodeTypeError) Error() string { func (e *DecodeTypeError) Unwrap() error { return e.Err } +var ( + ErrDecodeNonEmptyInterface = errors.New("cannot decode in to non-empty interface") +) + // high-level decode errors //////////////////////////////////////////////////////////////////////// // A *DecodeArgumentError is returned from Decode if the argument is |