Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAErrorMessageContains ¶
func IsAErrorMessageContains[T ErrorWithErrorMessage](err error, needle string) bool
IsAErrorMessageContains returns whether or not the specified error is of the specified type and its ErrorMessage() value contains the specified needle.
Types ¶
type ErrorWithErrorMessage ¶
type ErrorWithErrorMessage interface {
	error
	// contains filtered or unexported methods
}
     Click to show internal directories. 
   Click to hide internal directories.