             let last = stack.last
             push(.Parameter(name: "", discussion: nil))
             guard case .Parameters? = last?.kind else {
-                error(.ElementNotInsideExpectedParentElement(element: elementName, expectedParentElement: "Parameters"))
+                handleError(.ElementNotInsideExpectedParentElement(element: elementName, expectedParentElement: "Parameters"))
                 return
             }
         case "ResultDiscussion":

            add(element, children: top.nodes)
        case .Abstract:
            guard abstract == nil else {
                error(.MoreThanOneElement(element: elementName))
                return
            }
            abstract = top.nodes
        case .Declaration:
            guard declaration == nil else {
                error(.MoreThanOneElement(element: elementName))
                return
            }
            declaration = top.nodes

            assert(parameterDepth > 0)
            parameterDepth -= 1
            guard !name.isEmpty else {
                handleError(.MissingRequiredChildElement(element: "Parameter", childElement: "Name"))
                return
            }
            let p = Documentation.Parameter(name: name, discussion: discussion)
