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``

Project details


Download files

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

Source Distributions

uncatchable-exception-0.1.2.zip (4.5 kB view hashes)

Uploaded Source

uncatchable-exception-0.1.2.tar.gz (1.8 kB view hashes)

Uploaded Source

uncatchable-exception-0.1.2.tar.bz2 (2.0 kB view hashes)

Uploaded Source

Built Distribution

uncatchable_exception-0.1.2-py34-none-any.whl (3.4 kB view hashes)

Uploaded Python 3.4

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page