![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
bluebird-tap-error
Advanced tools
Like .tap
in Bluebird, but for errors. Sees errors, but doesn't catch them. Handy when you want to peek at errors, but want to do the actual error handling elsewhere.
WTFPL or CC0, whichever you prefer. A donation and/or attribution are appreciated, but not required.
My income consists entirely of donations for my projects. If this module is useful to you, consider making a donation!
You can donate using Bitcoin, PayPal, Gratipay, Flattr, cash-in-mail, SEPA transfers, and pretty much anything else.
Pull requests welcome. Please make sure your modifications are in line with the overall code style, and ensure that you're editing the .coffee
files, not the .js
files.
Build tool of choice is gulp
; simply run gulp
while developing, and it will watch for changes.
Be aware that by making a pull request, you agree to release your modifications under the licenses stated above.
A simple example:
var Promise = require("bluebird");
var tapError = require("bluebird-tap-error");
Promise.try(function() {
return someBrokenAsyncThing();
}).catch(tapError(function(err) {
console.log("We saw an error!", err);
})).catch(function(err) {
/* The actual error handling goes here. */
})
Wrap an error handling function in this function to make it tap into errors.
If an error occurred, it will be received by func
(like it would happen for a normal .catch
). The error is passed through as-is so that it can be handled elsewhere.
Any return value from this callback is ignored - including when the return value is a rejected Promise. You can only look at the error, and nothing else.
FAQs
Like .tap, but for errors (rejections)
The npm package bluebird-tap-error receives a total of 0 weekly downloads. As such, bluebird-tap-error popularity was classified as not popular.
We found that bluebird-tap-error demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.