purescript-exceptions icon indicating copy to clipboard operation
purescript-exceptions copied to clipboard

Exception effects

Results 3 purescript-exceptions issues
Sort by recently updated
recently updated
newest added

**Description of the change** Add errorWithName constructor for creating Errors with a name. See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/name Closes #30 --- **Checklist:** - [x] Added the change to the changelog's "Unreleased" section with...

It seems clear that this package is intended to catch `Error` exceptions. However, `catchException` does this: ``` try { return t(); } catch (e) { if (e instanceof Error ||...

status: needs more info

Currently, there is an accessor for [Error.name](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/name) (`name :: Error -> String`). It would be nice to have a helper that allows to create an error with a given name,...

type: enhancement
good first issue