catching_josh 1.0.0+1 copy "catching_josh: ^1.0.0+1" to clipboard
catching_josh: ^1.0.0+1 copied to clipboard

A Flutter package that makes try-catch operations elegant and customizable with beautiful error logging and flexible error handling options.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased] #

Planned #

  • Performance optimizations
  • Additional utility functions
  • Extended documentation and examples

1.0.0+1 - 2025-08-25 #

Added #

  • Initial release of CatchingJosh package
  • Core error handling functions: joshSync(), joshAsync(), joshReq()
  • Flexible error handling with ErrorHandleType enum
  • Beautiful formatted error logging system
  • HTTP response validation for network requests
  • Comprehensive test coverage for all core functions

Core Features #

  • joshSync<T>() - Synchronous error handling with logging
  • joshAsync<T>() - Asynchronous error handling for Future operations
  • `joshReq - HTTP/network request handling with response validation
  • Error handling types: returnNull, rethrowError, throwError
  • Customizable logging: success/error log control
  • Message titles and custom error messages

Technical Details #

  • Dart/Flutter package with zero external dependencies
  • Beautiful box-formatted logging output
  • Stack trace extraction and formatting
  • HTTP response status validation
  • MIT License
1
likes
0
points
205
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package that makes try-catch operations elegant and customizable with beautiful error logging and flexible error handling options.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on catching_josh