$ errors.fyi/haskell/ErrorCall 128 namespaces · 4,025 codes
haskell · haskell/ErrorCall
ErrorCall

ErrorCall

Thrown by the error and errorWithoutStackTrace functions. The constructor wraps a String message. Catching ErrorCall is the typical way to handle calls to error in pure code.

References

In this namespace

» community-maintained · contribute on GitHub npm i -g errors-fyi && errorfyi ENOENT