Javascript print error stack trace (pretty, terminal, html, markdown, etc)
Formats errors as nice strings with colors
Print error and exit on unhandled rejection
A Node.js Custom Error Library that print error stack without clutter.
utility function to print error and exit
print error with colors in terminal.
Like request, but smaller.
extended POSIX-style sprintf
Console log alias
CMake.js - a Node.js native addon build tool
File system tree printer - print a file system structure as a tree
Print React components in the browser
JavaScript syntax tree transformer, nondestructive pretty-printer, and automatic source map generator
Validates a json and returns a pretty print error of the missing path
This module provides basic ANSI color code support, to allow you to format your console output with foreground and background colors as well as providing bold, italic and underline support.
WebAssembly text format printer
Cypress's fork of a simplified HTTP request client.
Fast 0-deps bash parser written in TypeScript
just emit 'log' events on the process object
Utilities for GraphQL documents.
<div align="center"> <img width="200" height="200" src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png"> <h1>@jimp/core</h1> </div>
slugifies even utf-8 chars!
A Karma plugin. Report all spec-results to console (like mocha's spec reporter).
Simplified HTTP request client.
Formatter for cucumber like the RSpecSpinner for RSpec. Shows a progress bar on the command line, prints failing scenarios immediately and can automatically show a browser dump of the error page.
Adds a 'lint' command rubygems that will print a list of possible errors in a gem
A Rails plugin that improves the log format, and adds an optional "Exception" parameter to the warn() and error() methods to print a stack trace automatically.
Raise error, print warning log, return nil when call find by nil or Fixnum.
style-check.rb searches latex-formatted text in search of forbidden phrases and prints error messages formatted as if from a compiler.
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.
cuts off most of the file path and prints out the backtrace line by line for easier parsing. Except for native code errors (ie Syntax, method undefined).
Problem: While Cucumber is an awesome tool, for some kinds of tests it's default behaviour becomes an obstacle. Testing large batches of input against a slow error prone system is the source of much frustration. Cucumber will skip remaining steps on failure or error. This is especially problematic if the test input is a dynamic collection, *(e.g. results of a database query). This is opposed to a static collection testing which is solved by a Scenario Outline. Solution: We need to step putside Cucumber's default pass/fail/error handling. Capture all failures and errors in collections. Log errors and failures. Generate a pass/fail manifest against the test inputs. Do not use this for normal BDD style testing, Cucumber's default behaviour is perfect for that. Public Interface: This is a works in progress so I expect changes as usage reveals more. In your cucumber env.rb Before do |scenario| setup_unstoppable end After do |scenario| print unstoppable_failures(scenario) print unstoppable_errors(scenario) end In a step definition wrap any operation that you do not wish to stop execution like so unstoppable do expect(thing).to be(exected_thing) end This helper method does the following: runs executes the block catches any exception 2a. adds error to errors collection if an error 2b. adds expectation failure to failures collection if error is an RSpec::Expectations::ExpectationNotMetError logs error/failure
Gem exposes `githl` binary that allows to perform line count / contributor at current HEAD. Running on dirty working tree will produce git errors. Binary has a couple of options: `-p` or `--path` specifies relative path, defaults to `.`; `-i` or `--include` specify included files/directories or file extensions; `-e` or `--exlude` specify exluded files/directories or file extensions; `-v` or `--version` prints version. Currently does not work with non-UTF-8 encoded files.
GQLite is a Rust-language library, with a C interface, that implements a small, fast, self-contained, high-reliability, full-featured, Graph Query database engine. GQLite support multiple database backends, such as SQLite and redb. This enable to achieve high performance and for application to combine Graph queries with traditional SQL queries. GQLite source code is license under the [MIT License](LICENSE) and is free to everyone to use for any purpose. The official repositories contains bindings/APIs for C, C++, Python, Ruby and Crystal. The library is still in its early stage, but it is now fully functional. Development effort has now slowed down and new features are added on a by-need basis. It supports a subset of OpenCypher, with some ISO GQL extensions. Example of use -------------- ```ruby require 'gqlite' begin # Create a database on the file "test.db" connection = GQLite::Connection.new filename: "test.db" # Execute a simple query to create a node and return all the nodes value = connection.execute_oc_query("CREATE () MATCH (n) RETURN n") # Print the result if value.nil? puts "Empty results" else puts "Results are #{value.to_s}" end rescue GQLite::Error => ex # Report any error puts "An error has occured: #{ex.message}" end ``` The documentation for the GQL query language can found in [OpenCypher](https://auksys.org/documentation/5/libraries/gqlite/opencypher/) and for the [API](https://auksys.org/documentation/5/libraries/gqlite/api/).
The dep_walker is small utility gem that checks dependencies for native extensions used by installed gems on Windows. If you are {RubyInstaller}[http://www.rubyinstaller.org] user and have seen message box: <em>"This application has failed to start because <name_of_dll>.dll was not found. Re-installing the application may fix this problem"</em> when you tried to use gem that has pre-built binariy extension, you've faced common problem on Windows systems - missing dependency dll. Same error might occur even if extension library was built during gem installation if all header files and libraries are available to the build tools, but runtime dependencies are not present. With dep_walker you can simply check all installed gems. Even more, if log is turned on, gem will print out information where dependency is found on the system, so you can check whether Ruby extension really uses correct version of required dll.
Miscellaneous methods that may or may not be useful. sh:: Safely pass untrusted parameters to sh scripts. fork_and_check:: Run a block in a forked process and raise an exception if the process returns a non-zero value. do_and_exit, do_and_exit!:: Run a block. If the block does not run exit!, a successful exec or equivalent, run exit(1) or exit!(1) ourselves. Useful to make sure a forked block either runs a successful exec or dies. Any exceptions from the block are printed to standard error. overwrite:: Safely replace a file. Writes to a temporary file and then moves it over the old file. tempname_for:: Generates an unique temporary path based on a filename. The generated filename resides in the same directory as the original one. try_n_times:: Retries a block of code until it succeeds or a maximum number of attempts (default 10) is exceeded. Exception#to_formatted_string:: Returns a string that looks like how Ruby would dump an uncaught exception. IO#best_datasync:: Tries fdatasync, falling back to fsync, falling back to flush.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.