Skip to main content

Custom Errors for different programming languages.

Project description

Antievil 😈

Collection of Errors/Exceptions for different programming languages.

Due to different naming conventions in programming languages, the error objects are suffixed with Exception or Error. For simplicity, the general specification uses Error as a main suffix.

General Specification arguments' types are written in Python style, different languages will have different respective types. For example for Python's Any there might be C#'s object and TS's any.

Error Specification

🔎 NotFoundError (ERROR.NOT_FOUND)

Arguments

title: string

Friendly name of an object that was not found.

value: Any | None = None

Which value an object has which had been obstructed the search. For example for title="person with name", value might be set to the name, which hadn't been found.

There is no value mentioned by default.

options: dict | None = None

Map with extra options used during the searching.

Defaults to None.

Description

Some object was not found.

😠 PleaseDefineError

...in writing

Project details


Download files

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

Source Distribution

antievil-0.1.5.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

antievil-0.1.5-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file antievil-0.1.5.tar.gz.

File metadata

  • Download URL: antievil-0.1.5.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.4.8-zen1-1-zen

File hashes

Hashes for antievil-0.1.5.tar.gz
Algorithm Hash digest
SHA256 1e6afb6a42de9334ffc8161975c00209327519fda22bb1f7dc70cdd7b8fa8850
MD5 a49361521e3d6ceeb3610d36e374380f
BLAKE2b-256 cbaf5433fc5ffed053b7ed12ac9f9a574b383a449e66d4ac7a722010eb79a66e

See more details on using hashes here.

File details

Details for the file antievil-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: antievil-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.4.8-zen1-1-zen

File hashes

Hashes for antievil-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7ae49c38e21b3d24bd9b3fadf30916987125ee62d657a6e59d755c4ea13af069
MD5 bdda87d71029d6317ad544f6472d457f
BLAKE2b-256 e50b05c4ba63fc9fea360ec58f985607fd014c82ac8e40ac053d5d1e81779621

See more details on using hashes here.

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