Skip to main content

Nice error messages for Python

Project description

friendly_errors 😇

A Python module that catches errors and displays them in a friendlier, more helpful way — with tips, emojis, and clear explanations!

✨ Features

  • Friendly error messages with explanations
  • Custom traceback location info
  • YAML-configured error data
  • Automatically sets sys.excepthook

📦 Installation

pip install nice-errors

Usage

import nice-errors

#Throw an error here!

print(1/0)
# See the nice result!

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

nice_errors-1.0.1.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

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

nice_errors-1.0.1-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file nice_errors-1.0.1.tar.gz.

File metadata

  • Download URL: nice_errors-1.0.1.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for nice_errors-1.0.1.tar.gz
Algorithm Hash digest
SHA256 05cfc79a9341d9fc36eb62cea3799a576f54b0cb01e2459c4080fba951929e94
MD5 f8f0860a9b16499637822f7b0002fc48
BLAKE2b-256 f7ee73a229881ccbb3277dca91750f3484ec7cd0db6d6ebf57ae771e93a86b5a

See more details on using hashes here.

File details

Details for the file nice_errors-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: nice_errors-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for nice_errors-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3d89e36af6eb25f6d20704d61b1afe6ab20018149696cc9242ff851a5a663de2
MD5 47c8db475e5a6e15737d5dd0dc278cb9
BLAKE2b-256 1d48f27d6d445fbcfcb849673018247364a9f11cc4c9ca96cebf10ed07ff7ca7

See more details on using hashes here.

Supported by

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