Errors as values
Wraps a function and makes it return {error, value} instead of throwing.
Check if a value is a Fetch network error
the complete solution for node.js command-line programs
Utility to parse a string bytes to bytes and vice-versa
```js // методы add (k, v){} get (k, callback(error, value)){} remove (k, callback(error, key)){} length (){} clear (){} has (k){} ```
ESLint plugin that enforces 'throw new Error(`${value satisfies never} ...`)' in default cases for union types
An error subclass for wrapping non-error values
Implements the WebIDL algorithms for converting to and from JavaScript values
`Start a promise chain
Transforms css values and at-rule params into the tree
Match a Unicode property or property alias to its canonical property name per the algorithm used for RegExp Unicode property escapes in ECMAScript.
Rich matchers inspired by Hamcrest. Useful for generating helpful assertion failure messages in tests.
Precondition checking utilities.
Inquirer number prompt
Inquirer input text prompt
Safely and quickly serialize JavaScript objects
Run an array of functions in parallel
A tiny invariant function
A fast fifo implementation similar to the one powering nextTick in Node.js core
a CSS selector parser
A lightweight Node.js module to recursively read files in a directory using ES6 Promises
Replace JSX attribute value
Shareable commitlint config enforcing conventional commits
A simple wrapper around the ENV hash that by default raises an error when value requested is not set.
EnhancedErrors will automatically enhance your errors with messages containing variable values from the moment they were raised, using no extra dependencies, and only Ruby's built-in TracePoint.
Define configuration schemas with required and optional keys, type constraints, default values, and allowed value lists. Validates hashes and raises descriptive errors.
The WindowsError gem provides an easily accessible reference for standard Windows API Error Codes. It allows you to do comparisons as well as direct lookups of error codes to translate the numerical value returned by the API, into a meaningful and human readable message.
dry-schema provides a DSL for defining schemas with keys and rules that should be applied to values. It supports coercion, input sanitization, custom types and localized error messages (with or without I18n gem). It's also used as the schema engine in dry-validation.
Result instances are immutable objects representing an error with a message or an absence of error with a value
Fluentd Output filter plugin. It has designed to rewrite tag like mod_rewrite. Re-emmit a record with rewrited tag when a value matches/unmatches with the regular expression. Also you can change a tag from apache log by domain, status-code(ex. 500 error), user-agent, request-uri, regex-backreference and so on with regular expression.
Avoid all errors when accessing (deeply nested) Hash keys. Safer than dig(), as will quietly return nil (or your default) if the keys requested are invalid for any reason at all. This gem is deprecated - use KeyDial instead, which does the same thing but works on Hashes, Arrays and Structs as well.
SafetyDance.new { dance! }.then { |result| leave_friends_behind(!result) }.rescue { |error| not_friends_of_mine(error) }.value!
Simple thread pool with timeouts, default values, error handling, state tracking and unit tests.
This library makes it easier to deal with Money values, storing them as BigDecimal to avoid floating-point math errors.
Simpler and safer Rails credentials access with blank value detection and clear error messages
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.