Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Support string input for $contents in Exception constructor #511

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sterzuccio
Copy link

@sterzuccio sterzuccio commented Jan 21, 2025

What:

  • Bug Fix
  • New Feature

Description:

Fix: Handle cases where $contents is a string instead of an array. Updated constructor to support both array and string types, preventing errors when $contents is not an array.

Related:

Fix: Handle cases where $contents is a string instead of an array. Updated constructor to support both array and string types, preventing errors when $contents is not an array.
@sterzuccio sterzuccio changed the title Update ErrorException.php Fix: Support string input for $contents in Exception constructor" Jan 21, 2025
@sterzuccio sterzuccio changed the title Fix: Support string input for $contents in Exception constructor" Fix: Support string input for $contents in Exception constructor Jan 21, 2025
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.

1 participant