// Error implements the error interface.
Error implements the error interface.
// Error implements the error interface .
func (w WaitQueueTimeoutError) Error() string {
	errorMsg := "timed out while checking out a connection from connection pool"
	if w.Wrapped != nil {
		return fmt.Sprintf("%s: %s", errorMsg, w.Wrapped.Error())
	}
	return errorMsg
}
func ( w WaitQueueTimeoutError ) Error ( ) string { errorMsg := " " if w . Wrapped != nil { return fmt . Sprintf ( " " , errorMsg , w . Wrapped . Error ( ) ) } return errorMsg }
Error implements the error interface.
Error implements the error interface .