MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / IsValidationError

Function IsValidationError

internal/outbound/sender.go:86–89  ·  view source on GitHub ↗

IsValidationError returns true if err is a ValidationError.

(err error)

Source from the content-addressed store, hash-verified

84
85// IsValidationError returns true if err is a ValidationError.
86func IsValidationError(err error) bool {
87 var ve *ValidationError
88 return errors.As(err, &ve)
89}
90
91type Sender struct {
92 smtpRelay *SMTPRelay

Callers 1

DeliverOutboundMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected