ubcc/src/Data/String/Ubc/Parse/Error/StructError.hs

11 lines
281 B
Haskell

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