Copyright | (c) Hasktorch devs 2017 |
---|---|
License | BSD3 |
Maintainer | Sam Stites <sam@stites.io> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Torch.Core.Exceptions
Description
Package to start off hasktorch exception handling.
TODO: Move this into a seperate package so that this can be used by 'hasktorch-classes'
Synopsis
- data TorchException = MathException Text
Documentation
data TorchException Source #
The base Torch exception class
Constructors
MathException Text |
Instances
Show TorchException Source # | |
Defined in Torch.Core.Exceptions Methods showsPrec :: Int -> TorchException -> ShowS # show :: TorchException -> String # showList :: [TorchException] -> ShowS # | |
Exception TorchException Source # | |
Defined in Torch.Core.Exceptions Methods toException :: TorchException -> SomeException # |