user friendly error code names
Just because they are errors doesn't mean they can't be pretty.
See nodejs errors with less clutter
Create pretty errors from valibot issues
Fork of pretty-format with support for ESM
Pretty error reporting for Formidable
Incremental parser
Express compatible middleware for pretty errors in html, json, raw text, css and terminal contexts with stack traces included!
Prettifier for Pino log lines
A mighty CSS linter that helps you avoid errors and enforce conventions.
Strictly typed form state manager for React with as you type validation for many inputs with pretty errors using a json-schema definition and rules and a few simple Hooks
Stringify any JavaScript value.
📝 Expressive TypeScript Logger for Node.js: Pretty errors, stack traces, code frames, and JSON output to attachable transports.
untar salvaged from bitjs
Prettified AJV errors
The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.
Get Pretty Quick
📝 Extensible TypeScript Logger for Node.js and Browser: Dependency free, Fully customizable, Pretty errors, stack traces, and JSON output to attachable transports.
Easily format the time from node.js `process.hrtime`. Works with timescales ranging from weeks to nanoseconds.
A simple cache for a few of the JS Error constructors.
for adding, subtracting, and indexing discontinuous ranges of numbers
Domodule Library for adding nice errors on web sites.
Convert bytes to a human readable string: 1337 → 1.34 kB
Create HTTP error objects
Display clean and colorful error messages and backtrace
makes the error callbacks on your rails forms a bit prettier when you are using the bootstrap css
Pretty form errors by default in your ActiveAdmin.
EditorKicker is a pretty tool to invoke your favorite editor and open errored file automatically when error raised in your script.
merb_editorkicker is a Merb plug-in to enable you to invoke your favorite editor when you click line number link on Merb error page.
This program is checking your code for few errors which makes it not pretty.
Gem enables to override error messages keys for pretty rendering
Flare-up makes Redshift COPY scriptable by providing CLI access to the Redshift COPY command, with handy access to pretty printed errors as well. It also includes the CREATE TABLE and DROP TABLE commands.
# Kaffe Framework This is a minimalistic webframework inspired by sinatra and rails. ## Basic usage The idea is to use be able to create modular applications and forward requests between them. class Blog < Kaffe::Base use Rack::CommonLogger get '/?' do "Hello From Blog" end end class Admin < Kaffe::Base get '/login' do ... Login logics ... end error 400..500 do |code, message| .. show pretty error message .. end end class MyApp < Kaffe::Base route '/blog', Blog route '/admin', Admin end run MyApp ## API overview
Argser (from 'ARGuments parSER') is a library that aims to simplify the process of parsing arguments in command line scripts written in Ruby. It provides an easy way to specify which parameters are valid, their type or format, error conditions, description, etc. In that way, it reduces the need to write code specificaly to parse and validate such arguments. The idea is pretty simple. To be able to use the arguments passed when the script was executed in a easy and consistent way, you only need to specify some general options for the application, a list of parameters and some properties that must hold for both, parameters and what is called the 'remaining array' (an array with strings that don't belong to any parameter).
Sometimes you mess your Rails application Unix permissions and get some annoying errors with git. This gem runs a simple shell script to fix that. Granting 755 permissions to folders and 644 to files, it also ensures that some special files inside the 'bin/' will recive special 755 permissions (bundle, rails, rake and spring) which is pretty much the Rails default. Works with all versions of Ruby on Rails; After install run 'rails-fix-permissions' on terminal inside the application folder to fix. Note that in some cases you may need to run it as superuser with 'sudo'.
== FEATURES: * Input your data as an array of hashes * Input a report layout, built using a Ruby DSL * Outputs ASCII pivot tables suitable for fast reports * Pretty fast: takes less than a second to process 1,000 records of data by a report with 100 rows and 10 columns. == SYNOPSIS: require 'rubygems' require 'crosstab' data = [{:gender => "M", :age => 1}, {:gender => "F", :age => 2}, {:gender => "M", :age => 3}] my_crosstab = crosstab data do table do title "Q.A Age:" group "18 - 54" do row "18 - 34", :age => 1 row "35 - 54", :age => 2 end row "55 or older", :age => 3 end banner do column "Total" group "Gender" do column "Male", :gender => "M" column "Female", :gender => "F" end end end puts my_crosstab.to_s # => ... Table 1 Q.A Age: Gender ---------------- Total Male Female (A) (B) (C) ------- ------- ------- (BASE) 3 2 1 18 - 54 2 1 1 ----------------------------- 67% 50% 100% 18 - 34 1 1 -- 33% 50% 35 - 54 1 -- 1 33% 100% 55 or older 1 1 -- 33% 50% == JUST THE BEGINNING: * I hope to add in later releases: * New export formats: html, pdf, csv, excel. * More stats than just frequency and percentage: mean, median, std. deviation, std. error, and significance testing * Optional row and table suppression for low frequencies * Optional table rows populating from the data * Optional table ranking -- automatically reorder rows based in descending order based on frequencies observed == REQUIREMENTS: * None