         if case let diagnostics? = self {
             diagnostics.emit(.error(error), location: location)
         } else {
-            throw Diagnostics.fatalError
+            throw StringError(error)
         }
     }
 

            return nil
        }
    }
    
    /// Wrap a throwing closure, returning a success boolean and
    /// emitting any thrown errors.
    ///

        if case let diagnostics? = self {
            diagnostics.emit(error, location: location)
        } else {
            throw error
        }
    }

