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

Download files

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

Source Distribution

py-error-0.0.1.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_error-0.0.1-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file py-error-0.0.1.tar.gz.

File metadata

  • Download URL: py-error-0.0.1.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for py-error-0.0.1.tar.gz
Algorithm Hash digest
SHA256 fa2cf33429f49a01ecbfa866a92ff278ef3fd1d098456e9ac13a48f44b6b50db
MD5 967cabff6c2c2b150095c46ade70c434
BLAKE2b-256 9857f7b0c05487d58ffc893a716da50178a8bc4efcae77ded6f09da3f1f8da68

See more details on using hashes here.

File details

Details for the file py_error-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for py_error-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5ffb2e07eb7ea9e85676d072feefa1b9968f12e729a519fe3c761781bea81fec
MD5 aa8f24f5ed0a29992d3fb306bae295f1
BLAKE2b-256 7bf89016ad7dc4a261ee39f37d6e66df4ca3676e734fb3cfcd0e0b09aaef5438

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page