| 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 |
Data.VCS.Ignore.Types
Description
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.
Constructors
| forall e.Exception e => VCSIgnoreError e |
Instances
| Show VCSIgnoreError Source # | |
Defined in Data.VCS.Ignore.Types Methods showsPrec :: Int -> VCSIgnoreError -> ShowS # show :: VCSIgnoreError -> String # showList :: [VCSIgnoreError] -> ShowS # | |
| Exception VCSIgnoreError Source # | |
Defined in Data.VCS.Ignore.Types Methods toException :: VCSIgnoreError -> SomeException # | |
Arguments
| :: Exception e | |
| => SomeException | exception to unwrap |
| -> Maybe e | unwrapped exception |
Unwraps given exception from VCSIgnoreError.
Arguments
| :: Exception e | |
| => e | exception to wrap |
| -> SomeException | wrapped exception |
Wraps given exception from VCSIgnoreError.