| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Skeletest.Internal.Error
Synopsis
Documentation
data SkeletestError Source #
Constructors
| TestInfoNotFound | |
| CliFlagNotFound Text | |
| FixtureCircularDependency [Text] | |
| SnapshotFileCorrupted FilePath |
Instances
| Exception SkeletestError Source # | |
Defined in Skeletest.Internal.Error Methods toException :: SkeletestError -> SomeException # fromException :: SomeException -> Maybe SkeletestError # displayException :: SkeletestError -> String # backtraceDesired :: SkeletestError -> Bool # | |
| Show SkeletestError Source # | |
Defined in Skeletest.Internal.Error Methods showsPrec :: Int -> SkeletestError -> ShowS # show :: SkeletestError -> String # showList :: [SkeletestError] -> ShowS # | |
skeletestPluginError :: String -> a Source #
Throw a user error during compilation, e.g. during the preprocessor or plugin phases.
invariantViolation :: String -> a Source #
Throw an error in a situation that should never happen, and indicates a bug.