11 lines
281 B
Haskell
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
|