MCPcopy
hub / github.com/gogf/gf / customEqualError

Struct customEqualError

errors/gerror/gerror_z_unit_test.go:73–75  ·  view source on GitHub ↗

customEqualError implements IEqual interface

Source from the content-addressed store, hash-verified

71
72// customEqualError implements IEqual interface
73type customEqualError struct {
74 msg string
75}
76
77func (e *customEqualError) Error() string { return e.msg }
78func (e *customEqualError) Equal(target error) bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected