github.com/zerosnake0/jzon@v0.0.8/errors_encoder.go (about) 1 package jzon 2 3 import ( 4 "errors" 5 ) 6 7 // ErrNoAttachedWriter there is no writer attaching to the streamer 8 var ErrNoAttachedWriter = errors.New("no attached writer") 9 10 // ErrFloatIsInfinity the float to write is infinity 11 var ErrFloatIsInfinity = errors.New("float is infinity") 12 13 // ErrFloatIsNan the float to write is NaN 14 var ErrFloatIsNan = errors.New("float is NaN")