WatchKit does not yet provide alerts or UI errors (as of March 2015). You will have to do it yourself.
One easy way is to create a custom class that implements the WKInterfaceController and creates an interface in the Storyboard. Then use presentControllerWithName:context:to display it in text format.
ErrorInterfaceController:
import WatchKit
import Foundation
class ErrorInterfaceController: WKInterfaceController {
@IBOutlet weak var errorMessageLabel: WKInterfaceLabel?
override func awakeWithContext(context: AnyObject?) {
super.awakeWithContext(context);
if let dictionary = context as? [String: String] {
if let message = dictionary["message"] {
errorMessageLabel!.setText(message)
}
}
}
@IBAction func closeModalView() {
dismissController()
}
}
:
private func showError(#message: String!) {
presentControllerWithName("ErrorInterfaceController", context: ["message": message]);
}