Skip to content

Conversation

@sttk
Copy link
Owner

@sttk sttk commented Apr 27, 2025

T/O.

@sttk sttk requested a review from Copilot April 27, 2025 12:17
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new README.md file that documents the errs-java library for handling exceptions with reasons in Java. Key changes include:

  • Adding an overview of the library's purpose and usage.
  • Providing installation instructions for Maven and Gradle.
  • Including code examples for exception instantiation, switch-based reason identification, and exception notification.
Comments suppressed due to low confidence (1)

README.md:112

  • 'removeLogger' is not defined anywhere in the code snippet. You may want to replace it with a properly defined logger instance (e.g., 'logger').
removeLogger.log(String.format("%s:%s:%d:%s", tm.format(ISO_INSTANT), exc.getFile(), exc.getLine(), exc.toString()));

@sttk sttk requested a review from Copilot April 27, 2025 13:09
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new README file that documents the usage, installation, and build instructions for the exception-handling library.

  • Introduces comprehensive examples for Maven/Gradle integration and code usage
  • Provides instructions for exception notification and native builds with GraalVM
Comments suppressed due to low confidence (1)

README.md:111

  • The variable 'removeLogger' is referenced but not defined in the snippet. Please define 'removeLogger' or replace it with the intended logger to ensure the code compiles correctly.
removeLogger.log(String.format("%s:%s:%d:%s", tm.format(ISO_INSTANT), exc.getFile(), exc.getLine(), exc.toString()));

@sttk sttk merged commit d2b3c7f into main Apr 27, 2025
12 checks passed
@sttk sttk deleted the add_readme branch April 27, 2025 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants