Skip to main content

es6-error

An easily-extendable error class for use with python classes

Why?

I made this because I wanted to be able to extend Error for inheritance and type checking .

Usage

class myClass(ExtendableError):
#     // __init__ is optional; you should omit it if you just want a custom error
#   // type for inheritance and type checking
    def __init__(self, message='OOps!'):
        super(message)

Todo

  • tests

Metadata

Release files for py-error 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-error 0.0.1
File Size Uploaded
py-error-0.0.1.tar.gz 1.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-error 0.0.1
File Interpreter ABI Platform
py_error-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 3.9 kB

Release files / py-error-0.0.1.tar.gz

Download URL py-error-0.0.1.tar.gz
Size 1.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fa2cf33429f49a01ecbfa866a92ff278ef3fd1d098456e9ac13a48f44b6b50db
BLAKE2b-256 checksum
How to use checksums
9857f7b0c05487d58ffc893a716da50178a8bc4efcae77ded6f09da3f1f8da68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / py_error-0.0.1-py3-none-any.whl

Download URL py_error-0.0.1-py3-none-any.whl
Size 2.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ffb2e07eb7ea9e85676d072feefa1b9968f12e729a519fe3c761781bea81fec
BLAKE2b-256 checksum
How to use checksums
7bf89016ad7dc4a261ee39f37d6e66df4ca3676e734fb3cfcd0e0b09aaef5438
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page