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

Refactoring part 2 #13

Merged
merged 1 commit into from
Jul 16, 2017
Merged

Refactoring part 2 #13

merged 1 commit into from
Jul 16, 2017

Conversation

lipanski
Copy link
Contributor

@lipanski lipanski commented Jul 16, 2017

  • when an error occured, return TokenError instead of String
  • create the ErrorType enum because the error types are limited according to the RFC
  • add state to TokenError (part of the RFC)
  • turn the optional TokenError fields into Option
  • write tests for error cases
  • move code around to have struct definitions next to their implementations

@lipanski lipanski changed the title Refactoring part II Refactoring part 2 Jul 16, 2017
@lipanski lipanski mentioned this pull request Jul 16, 2017
7 tasks
@lipanski lipanski merged commit 9b309b3 into master Jul 16, 2017
@lipanski lipanski deleted the refactor_errors branch July 16, 2017 17:26
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.

None yet

1 participant