      - parameter feedback:      The feedback that’s just been sent.
      */
     func pinpointKit(_ pinpointKit: PinpointKit, didSend feedback: Feedback)
+    
+    /**
+     Notifies the delegate that PinpointKit has failed to send user feedback.
+     
+     - parameter pinpointKit:   The `PinpointKit` instance responsible for the feedback.
+     - parameter feedback:      The feedback that failed to send.
+     - parameter error:         The error that occurred.
+     */
+    func pinpointKit(_ pinpointKit: PinpointKit, didFailToSend feedback: Feedback, error: Error)
 }
 
 /// An extension on PinpointKitDelegate that makes all delegate methods optional by giving them empty implementations by default.

    public func sender(_ sender: Sender, didFailToSend feedback: Feedback?, error: Error) {
        if case MailSender.Error.mailCanceled = error { return }
        
        NSLog("An error occurred sending mail: \(error)")
    }
}


    
    func pinpointKit(_ pinpointKit: PinpointKit, willSend feedback: Feedback) {}
    func pinpointKit(_ pinpointKit: PinpointKit, didSend feedback: Feedback) {}
    func pinpointKit(_ pinpointKit: PinpointKit, didFailToSend feedback: Feedback, error: Error) {}
}
