Showing 1-20 of 5,075 packages
Throws errors when performance sensitive DOM APIs are called out of 'phase'
PostCSS plugin throws a error on any warning from previous PostCSS plugins
Call a function and catch any errors it throws
Make sure your function really throws what you expect
Error class and error codes that the fuels-ts library throws
Throws an error if a string is found.
A function that throws when called, use with nullish coalescing to elide unexpected nullish values
Ensures that a number is within the natural numbers (0, 1, 2...) or throws a RangeError
assertion library that throws user-specified error types (accepts error class and message)
Basic assert function that throws provided error object
Determine whether the environment has the so-called "override mistake" - [[Set]]ing a property whose ancestor is nonwritable throws.
> Just a module that throws when you require it
An assertion method to check if a sync or async function throws and assert on error properties.
Babel plugin for protecting against improper use of `t.throws()` in AVA
|| DIE('reason') Throws an error like PHP 's `OR DIE('REASON')`, Simple error throwing in a functional dev style.
Throws something if it’s an Error; otherwise returns it.
|| DIE('reason') Throws an error like PHP 's `OR DIE('REASON')`, Simple error throwing in a functional dev style.
ensures all required parameters are not null, or throws a useful error like 'phone is required'
Throws an error if files are over a certain size.
Babel plugin for protecting against improper use of `t.throws()` in AVA