Simple helper function for better handling or the uncaughtException event
A react native module that lets you to register a global error handler that can capture fatal/non fatal uncaught exceptions.
@bugsnag/js plugin to capture and report uncaught exceptions
OpenTelemetry instrumentation for Node.js Performance measurement API
Utility to create custom exceptions
Global uncaught exception handler
Crash or abort if you get an unhandledRejection or multipleResolves
installs custom cleanup handlers that run on exiting node
yargs the modern, pirate-themed, successor to optimist.
Essential initialization for every JavaScript process
Helpers for asserting that a JavaScript environment supports certain features necessary for the operation of the Solana JavaScript SDK
Storybook framework-agnostic API
list of SPDX standard license exceptions
A modern, cross-platform React Native library to capture uncaught JS & native exceptions, show custom error UIs, and optionally restart the app. Supports TurboModules, Fabric, and both new/old architectures.
Angular DevKit - Core Utility Library
utils for serverless-devs
Give a regex, get a robust predicate function that tests it against a string.
Safer Node.js Buffer API
`Array.prototype.concat`, but made safe by ignoring Symbol.isConcatSpreadable
Cleanly register uncaughtException and unhandledRejection handlers
A simple tool to keep requests to be executed in order.
Load environment variables from .env and ensure they are defined
Push an array of items into an array, while being robust against prototype modification
NestJS Swagger decorator for API exceptions
Miscellaneous methods that may or may not be useful. sh:: Safely pass untrusted parameters to sh scripts. fork_and_check:: Run a block in a forked process and raise an exception if the process returns a non-zero value. do_and_exit, do_and_exit!:: Run a block. If the block does not run exit!, a successful exec or equivalent, run exit(1) or exit!(1) ourselves. Useful to make sure a forked block either runs a successful exec or dies. Any exceptions from the block are printed to standard error. overwrite:: Safely replace a file. Writes to a temporary file and then moves it over the old file. tempname_for:: Generates an unique temporary path based on a filename. The generated filename resides in the same directory as the original one. try_n_times:: Retries a block of code until it succeeds or a maximum number of attempts (default 10) is exceeded. Exception#to_formatted_string:: Returns a string that looks like how Ruby would dump an uncaught exception. IO#best_datasync:: Tries fdatasync, falling back to fsync, falling back to flush.
Miscellaneous methods that may or may not be useful. sh:: Safely pass untrusted parameters to sh scripts. Raise an exception if the script returns a non-zero value. fork_and_check:: Run a block in a forked process and raise an exception if the process returns a non-zero value. do_and_exit, do_and_exit!:: Run a block. If the block does not run exit!, a successful exec or equivalent, run exit(1) or exit!(1) ourselves. Useful to make sure a forked block either runs a successful exec or dies. Any exceptions from the block are printed to standard error. overwrite:: Safely replace a file. Writes to a temporary file and then moves it over the old file. tempname_for:: Generates an unique temporary path based on a filename. The generated filename resides in the same directory as the original one. try_n_times:: Retries a block of code until it succeeds or a maximum number of attempts (default 10) is exceeded. Exception#to_formatted_string:: Return a string that looks like how Ruby would dump an uncaught exception. IO#best_datasync:: Try fdatasync, falling back to fsync, falling back to flush. Random#exp:: Return a random integer 0 ≤ n < 2^argument (using SecureRandom). Random#float:: Return a random float 0.0 ≤ n < argument (using SecureRandom). Random#int:: Return a random integer 0 ≤ n < argument (using SecureRandom). Password:: A small wrapper for String#crypt that does secure salt generation and easy password verification.