UVMHS.Lib.Errors
oops :: (Monad m, MonadReader r m, HasLens r e, MonadError e m) => m a Source #
data GError Source #
Constructors
Fields
Defined in UVMHS.Lib.Errors
Methods
pretty :: GError -> Doc Source #
gerrorCxtL :: (⟢) GError (() -> Doc) Source #
gerrorMsgL :: (⟢) GError (() -> 𝕊) Source #
gerrorLocL :: (⟢) GError (() -> 𝑃 SrcCxt) Source #
gerrorTypL :: (⟢) GError (() -> 𝕊) Source #
gerror₀ :: GError Source #
gerrorFromIO :: IOError -> GError Source #
errSetTyp :: (Monad m, MonadReader r m, HasLens r GError) => (() -> 𝕊) -> m a -> m a Source #
errSetLoc :: (Monad m, MonadReader r m, HasLens r GError) => (() -> 𝑃 SrcCxt) -> m a -> m a Source #
errSetMsg :: (Monad m, MonadReader r m, HasLens r GError) => (() -> 𝕊) -> m a -> m a Source #
errSetCxt :: (Monad m, MonadReader r m, HasLens r GError) => (() -> Doc) -> m a -> m a Source #
errModCxt :: (Monad m, MonadReader r m, HasLens r GError) => (Doc -> Doc) -> m a -> m a Source #
errTyp :: (Monad m, MonadReader r m, HasLens r GError) => m 𝕊 Source #
errLoc :: (Monad m, MonadReader r m, HasLens r GError) => m (𝑃 SrcCxt) Source #
errMsg :: (Monad m, MonadReader r m, HasLens r GError) => m 𝕊 Source #
errCxt :: (Monad m, MonadReader r m, HasLens r GError) => m Doc Source #