diff options
author | Luke Shumaker <lukeshu@datawire.io> | 2022-08-16 00:15:57 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@datawire.io> | 2022-08-16 02:08:39 -0600 |
commit | 8c0513a04ff3870f57bde230507aaa8c6b7e6e86 (patch) | |
tree | 4e9c8082bb9168c923eee2c6bd17f01e44206f0a /errors.go | |
parent | 83ec1924ae051b60f911aa8b53b741c5371faaf8 (diff) |
Get borrowed_decode_test.go passing
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 |