go-jsonstr/errors.go

15 lines
263 B
Go

package jsonstr
import (
"github.com/reiver/go-erorr"
)
const (
ErrNotJSONArrayOfString = erorr.Error("jsonstr: not JSON array of strings")
)
const (
errNilReceiver = erorr.Error("jsonstr: nil receiver")
errNilData = erorr.Error("jsonstr: nil data")
)