Determine whether a compilation succeeded or failed by returning a (H.Html, Maybe String) (where String is the error)