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

redesign error object to act more like an array #187

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

mmenanno
Copy link
Owner

Resolves #160 redeisgning the previous implimentation of LunchMoney::Errors being a type alias for an array of LunchMoney::Error objects. Not LunchMoney::Errors is a first class object, that acts a lot like an array and can store one or many messages.

@mmenanno mmenanno merged commit 08090e7 into main Jan 31, 2024
4 checks passed
@mmenanno mmenanno deleted the improve-error-handling branch February 2, 2024 20:14
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.

Improve error return type consistency
1 participant