Skip to main content

An exception class which is not catchable when it was raised.

Project description

Uncatchable Exception
====================
.. image:: https://badge.fury.io/py/uncatchable-exception.png
:target: http://badge.fury.io/py/uncatchable-exception
.. image:: https://pypip.in/d/uncatchable-exception/badge.png
:target: https://crate.io/packages/uncatchable-exception/
.. image:: https://requires.io/github/bh/uncatchable-exception/requirements.png?branch=master
:target: https://requires.io/github/bh/uncatchable-exception/requirements/?branch=master

Description
-----------

You will get an exception class which is not catchable when it was raised.

Installation
------------

Use ``pip`` to install:

.. code:: bash

$ pip install uncatchable-exception --use-mirrors

Usage
-----

An example:

.. code:: python

from uncatchable_exception import UncatchableException

def raise_an_uncatchable_exception():
raise UncatchableException('Harr Harr!')

try:
raise_an_uncatchable_exception()
except:
print("Uncatchable exception caught")


Yeah, the Python process is hanging, kill it with ``^C``

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for uncatchable-exception, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size uncatchable_exception-0.1.2-py34-none-any.whl (3.4 kB) File type Wheel Python version 3.4 Upload date Hashes View
Filename, size uncatchable-exception-0.1.2.zip (4.5 kB) File type Source Python version None Upload date Hashes View
Filename, size uncatchable-exception-0.1.2.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View
Filename, size uncatchable-exception-0.1.2.tar.bz2 (2.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page