| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Agda.Interaction.ExitCode
Synopsis
- data AgdaError
- agdaErrorToInt :: AgdaError -> Int
- agdaErrorFromInt :: Int -> Maybe AgdaError
- exitSuccess :: IO a
- exitAgdaWith :: AgdaError -> IO a
Documentation
Constructors
| UnknownError | 1 |
| TCMError | 42 |
| OptionError | 71 |
| CommandError | 113 |
| ImpossibleError | 154 |
Instances
| Bounded AgdaError Source # | |
Defined in Agda.Interaction.ExitCode | |
| Enum AgdaError Source # | |
Defined in Agda.Interaction.ExitCode | |
| Show AgdaError Source # | |
| Eq AgdaError Source # | |
agdaErrorToInt :: AgdaError -> Int Source #
Return the error corresponding to an exit code from the Agda process
agdaErrorFromInt :: Int -> Maybe AgdaError Source #
exitSuccess :: IO a #
exitAgdaWith :: AgdaError -> IO a Source #