     * and notify any chained promises that it has been rejected.  If the promise is in any other
     * state, no changes are made and any chained promises are ignored.
     *
-    * :param: the rejection error to use for the promise
+    * - parameter the: rejection error to use for the promise
     */
     public func reject(error: NSError) {
         var promiseActionsToReject:[PromiseAction] = []

    * This can be useful when an async user code process needs to return a promise, but already
    * has the result (such as with a completed network request, database query, etc.)
    *
    * :returns: A rejected or fulfilled promise with no chained promises
    */
    public init(_ value:AnyObject?) {
        if let error = value as? NSError {

    *
    * If the promise is already rejected, then if the reject closure exists, it will be called immediately
    *
    * - parameter fulfill: closure to call when the promise is fulfilled
    *   It can return:
    *       an NSError: it will cause any dependent promises to be rejected with this error
    *       a Promise: it will be chained to this instance
    *       any other value including nil: it will cause any dependent promises to be fulfilled with this value
    *
    * - parameter optional: rejection closure to call when the promise is rejected
    *
    * - returns: a new instance of a promise to which application code can add dependent promises (e.g. chaining)
    */
    public func then(fulfill: kPromiseFulfillClosure, reject: kPromiseRejectClosure?) -> Promise {
        let result = Promise()
