Copyright | (c) 2020-2021 Vaclav Svejcar |
---|---|
License | BSD-3-Clause |
Maintainer | vaclav.svejcar@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This module contains data types and functions shared across the library.
Synopsis
- data VCSIgnoreError = forall e.Exception e => VCSIgnoreError e
- fromVCSIgnoreError :: Exception e => SomeException -> Maybe e
- toVCSIgnoreError :: Exception e => e -> SomeException
Documentation
data VCSIgnoreError Source #
Top-level of any exception thrown by this library.
forall e.Exception e => VCSIgnoreError e |
Instances
Show VCSIgnoreError Source # | |
Defined in Data.VCS.Ignore.Types showsPrec :: Int -> VCSIgnoreError -> ShowS # show :: VCSIgnoreError -> String # showList :: [VCSIgnoreError] -> ShowS # | |
Exception VCSIgnoreError Source # | |
Defined in Data.VCS.Ignore.Types |
:: Exception e | |
=> SomeException | exception to unwrap |
-> Maybe e | unwrapped exception |
Unwraps given exception from VCSIgnoreError
.
:: Exception e | |
=> e | exception to wrap |
-> SomeException | wrapped exception |
Wraps given exception from VCSIgnoreError
.