go-json/error.go

10 lines
284 B
Go
Raw Normal View History

2020-04-19 13:51:22 +03:00
package json
import "golang.org/x/xerrors"
2020-04-19 13:51:22 +03:00
var (
ErrUnsupportedType = xerrors.New("json: unsupported type")
ErrCompileSlowPath = xerrors.New("json: detect dynamic type ( interface{} ) and compile with slow path")
2020-04-22 07:06:52 +03:00
ErrDecodePointer = xerrors.New("json: required pointer type")
2020-04-19 13:51:22 +03:00
)