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

refactor: make errors take objects instead of many params #144

Merged

Conversation

kyranet
Copy link
Member

@kyranet kyranet commented Jan 29, 2021

No description provided.

@kyranet kyranet requested a review from favna as a code owner January 29, 2021 10:28
@kyranet kyranet requested a review from a team January 29, 2021 10:28
@kyranet kyranet merged commit c30ad4c into main Jan 29, 2021
@kyranet kyranet deleted the refactor/make-errors-take-objects-instead-of-many-parameters branch January 29, 2021 11:06
favna pushed a commit that referenced this pull request Feb 1, 2021
BREAKING CHANGE: The `UserError`, `PreconditionError`, `ArgumentError` classes,
and the `ok`, `err` functions now take a single parameter which is an object
of properties, rather than multiple parameters.
@sapphiredev
Copy link

sapphiredev bot commented Aug 11, 2021

The deployment workflow has finished successfully. You can install it for testing like so:

npm install @sapphire/framework@pr-144

@favna
Copy link
Member

favna commented Aug 11, 2021

Wat

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.

3 participants