| Copyright | (c) 2020-2021 Alexandre Moreno |
|---|---|
| License | BSD-3-Clause OR Apache-2.0 |
| Maintainer | Alexandre Moreno <alexmorenocano@gmail.com> |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Language.Jsonnet.Error
Description
Documentation
Constructors
| ParserError ParserError | |
| CheckError CheckError (Maybe SrcSpan) | |
| EvalError EvalError (Backtrace Core) |
Instances
| Show Error Source # | |
| Pretty Error Source # | |
Defined in Language.Jsonnet.Pretty | |
| MonadError Error JsonnetM Source # | |
Defined in Language.Jsonnet Methods throwError :: Error -> JsonnetM a # catchError :: JsonnetM a -> (Error -> JsonnetM a) -> JsonnetM a # | |
| MonadError Error (EvalM a) Source # | |
Defined in Language.Jsonnet.Eval.Monad Methods throwError :: Error -> EvalM a a0 # catchError :: EvalM a a0 -> (Error -> EvalM a a0) -> EvalM a a0 # | |
Constructors
Instances
| Show EvalError Source # | |
| Pretty EvalError Source # | |
Defined in Language.Jsonnet.Pretty | |
| Exception EvalError Source # | |
Defined in Language.Jsonnet.Error Methods toException :: EvalError -> SomeException # fromException :: SomeException -> Maybe EvalError # displayException :: EvalError -> String # | |
data ParserError Source #
Constructors
| ParseError (ParseErrorBundle Text Void) | |
| ImportError IOError (Maybe SrcSpan) |
Instances
| Eq ParserError Source # | |
Defined in Language.Jsonnet.Error | |
| Show ParserError Source # | |
Defined in Language.Jsonnet.Error Methods showsPrec :: Int -> ParserError -> ShowS # show :: ParserError -> String # showList :: [ParserError] -> ShowS # | |
| Pretty ParserError Source # | |
Defined in Language.Jsonnet.Pretty | |
data CheckError Source #
Constructors
| DuplicateParam String | |
| PosAfterNamedParam | |
| DuplicateBinding String |
Instances
| Show CheckError Source # | |
Defined in Language.Jsonnet.Error Methods showsPrec :: Int -> CheckError -> ShowS # show :: CheckError -> String # showList :: [CheckError] -> ShowS # | |
| Pretty CheckError Source # | |
Defined in Language.Jsonnet.Pretty | |