forked from cerc-io/ipld-eth-server
36533f7c3f
Fixes for new geth version
15 lines
446 B
Go
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
|
|
}
|