Skip to content

Add Error Message to Response #1

Description

Summary

Enhance the Response class to include an error message field. This will clarify why a returned record is null (e.g., "Input list was empty" or "Input list was null").

Proposed Change

  • Add a String errorMessage field to the Response class.
  • Populate errorMessage when input is invalid.

Benefit

Improves clarity for users and helps with debugging.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions