11 lines
145 B
Haskell
11 lines
145 B
Haskell
module HasErrors
|
|
( HasErrors(..)
|
|
)
|
|
where
|
|
|
|
import Error
|
|
|
|
-- | Ability to contain `Error`s.
|
|
class HasErrors h where
|
|
errors :: h -> [Error]
|