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.9.tar.gz (17.8 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.9-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nice_errors-1.0.9.tar.gz
  • Upload date:
  • Size: 17.8 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.9.tar.gz
Algorithm Hash digest
SHA256 2f54cc778f66f81cec42ed07b6340c24cbbc26c4cb4d758e7a8fdf3196ea5d4f
MD5 de67f4e94dc41a89233cf9e2bcc702d7
BLAKE2b-256 5a2983e9a9514d412591c9d8be24a6cba3d701cf9e2089ea23c1f023e3e8e3f0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nice_errors-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 18.2 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 52512f271537ad8d193fa97e49a909f31d65105f0f18fc3ceb78b3332fd3becf
MD5 adea2df5f10a69e45153b8c52c515540
BLAKE2b-256 64adce871854e9cbbc15bf4b45291f0c3c380b0ff510c2cca5b9a034ed8a54eb

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