Skip to content

Commit da27bce

Browse files
committed
Export stack
1 parent bba5e06 commit da27bce

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

docs/Control/Monad/Eff/Exception.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ message :: Error -> String
4040

4141
Get the error message from a JavaScript error
4242

43+
#### `stack`
44+
45+
``` purescript
46+
stack :: Error -> Maybe String
47+
```
48+
49+
Get the stack trace from a JavaScript error
50+
4351
#### `throwException`
4452

4553
``` purescript

src/Control/Monad/Eff/Exception.purs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ module Control.Monad.Eff.Exception
66
, Error()
77
, error
88
, message
9+
, stack
910
, throwException
1011
, catchException
1112
, throw

0 commit comments

Comments
 (0)