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

Update errors to have a base type of Train::Error #273

Merged
merged 1 commit into from
Mar 23, 2018

Conversation

marcparadise
Copy link
Contributor

Train::Error inherits from StandardError.

This simplifies integrating this library, allowing the caller to
implement common Train error handling without having to be updated
when new error types are added to the gem.

Signed-off-by: Marc A. Paradise [email protected]

@marcparadise marcparadise requested a review from a team March 23, 2018 17:17
This inherits from StandardError.

This simplifies integrating this library, allowing the caller to
implement common Train error handling without having to be updated
when new error types are added to the gem.

Signed-off-by: Marc A. Paradise <[email protected]>
@marcparadise marcparadise force-pushed the mp/common-error-base branch from 2a4b686 to efc1613 Compare March 23, 2018 17:30
Copy link
Contributor

@jquick jquick left a comment

Choose a reason for hiding this comment

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

Nice addition. Thanks @marcparadise !

Copy link
Contributor

@jerryaldrichiii jerryaldrichiii left a comment

Choose a reason for hiding this comment

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

I love it! Thanks @marcparadise

@jquick jquick merged commit fc6e2af into master Mar 23, 2018
@jquick jquick deleted the mp/common-error-base branch March 23, 2018 17:51
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