text-show-2.1.1: Efficient conversion of values into Text

Copyright | (C) 2014-2015 Ryan Scott
License | BSD-style (see the file LICENSE)
Maintainer | Ryan Scott
Stability | Provisional
Portability | GHC
Safe Haskell | None
Language | Haskell2010

TextShow.Control.Exception

Description

Monomorphic `TextShow` functions for `Exception`s.

Since: 2

Synopsis

- showbSomeExceptionPrec :: Int -> SomeException -> Builder
- showbIOException :: IOException -> Builder
- showbArithException :: ArithException -> Builder
- showbArrayException :: ArrayException -> Builder
- showbAssertionFailed :: AssertionFailed -> Builder
- showbSomeAsyncException :: SomeAsyncException -> Builder
- showbAsyncException :: AsyncException -> Builder
- showbNonTermination :: NonTermination -> Builder
- showbNestedAtomically :: NestedAtomically -> Builder
- showbBlockedIndefinitelyOnMVar :: BlockedIndefinitelyOnMVar -> Builder
- showbBlockedIndefinitelyOnSTM :: BlockedIndefinitelyOnSTM -> Builder
- showbAllocationLimitExceeded :: AllocationLimitExceeded -> Builder
- showbDeadlock :: Deadlock -> Builder
- showbNoMethodError :: NoMethodError -> Builder
- showbPatternMatchFail :: PatternMatchFail -> Builder
- showbRecConError :: RecConError -> Builder
- showbRecSelError :: RecSelError -> Builder
- showbRecUpdError :: RecUpdError -> Builder
- showbErrorCall :: ErrorCall -> Builder
- showbMaskingState :: MaskingState -> Builder

# Documentation

showbSomeExceptionPrec :: Int -> SomeException -> Builder Source

Convert a `SomeException` value to a `Builder` with the given precedence.

Since: 2

showbIOException :: IOException -> Builder Source

Convert an `IOException` to a `Builder`.

Since: 2

showbArithException :: ArithException -> Builder Source

Convert an `ArithException` to a `Builder`.

Since: 2

showbArrayException :: ArrayException -> Builder Source

Convert an `ArrayException` to a `Builder`.

Since: 2

showbAssertionFailed :: AssertionFailed -> Builder Source

Convert an `AssertionFailed` exception to a `Builder`.

Since: 2

showbSomeAsyncException :: SomeAsyncException -> Builder Source

Convert a `SomeAsyncException` value to a `Builder`. This function is only available with `base-4.7.0.0` or later.

Since: 2

showbAsyncException :: AsyncException -> Builder Source

Convert an `AsyncException` to a `Builder`.

Since: 2

showbNonTermination :: NonTermination -> Builder Source

Convert a `NonTermination` exception to a `Builder`.

Since: 2

showbNestedAtomically :: NestedAtomically -> Builder Source

Convert a `NestedAtomically` exception to a `Builder`.

Since: 2

showbBlockedIndefinitelyOnMVar :: BlockedIndefinitelyOnMVar -> Builder Source

Convert a `BlockedIndefinitelyOnMVar` exception to a `Builder`.

Since: 2

showbBlockedIndefinitelyOnSTM :: BlockedIndefinitelyOnSTM -> Builder Source

Convert a `BlockedIndefinitelyOnSTM` exception to a `Builder`.

Since: 2

showbAllocationLimitExceeded :: AllocationLimitExceeded -> Builder Source

Convert an `AllocationLimitExceeded` exception to a `Builder`. This function is only available with `base-4.8.0.0` or later.

Since: 2

showbDeadlock :: Deadlock -> Builder Source

Convert a `Deadlock` exception to a `Builder`.

Since: 2

showbNoMethodError :: NoMethodError -> Builder Source

Convert a `NoMethodError` to a `Builder`.

Since: 2

showbPatternMatchFail :: PatternMatchFail -> Builder Source

Convert a `PatternMatchFail` to a `Builder`.

Since: 2

showbRecConError :: RecConError -> Builder Source

Convert a `RecConError` to a `Builder`.

Since: 2

showbRecSelError :: RecSelError -> Builder Source

Convert a `RecSelError` to a `Builder`.

Since: 2

showbRecUpdError :: RecUpdError -> Builder Source

Convert a `RecUpdError` to a `Builder`.

Since: 2

showbErrorCall :: ErrorCall -> Builder Source

Convert an `ErrorCall` to a `Builder`.

Since: 2

showbMaskingState :: MaskingState -> Builder Source

Convert a `MaskingState` to a `Builder`.

Since: 2