module Data.String.Ubc.Parse.Error.StructError ( StructError(..) ) where import Text.Parsec (SourcePos) data StructError = MissingNameError SourcePos | MissingBraceError (Either SourcePos SourcePos) -- the either branch indicates which one is missing