ipld-eth-server/vendor/github.com/polydawn/refmt/obj/atlas/errors.go
Elizabeth Engelman 36533f7c3f Update vendor directory and make necessary code changes
Fixes for new geth version
2019-09-25 16:32:27 -05:00

15 lines
446 B
Go

package atlas
// Error type raised when initializing an Atlas, and field entries do
// not resolve against the type.
// (If you recently refactored names of fields in your types, check
// to make sure you updated any references to those fields by name to match!)
type ErrStructureMismatch struct {
TypeName string
Reason string
}
func (e ErrStructureMismatch) Error() string {
return "structure mismatch: " + e.TypeName + " " + e.Reason
}