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

Lab 7 - Errors #484

Open
8 tasks done
nicholascross opened this issue Jun 24, 2019 · 0 comments
Open
8 tasks done

Lab 7 - Errors #484

nicholascross opened this issue Jun 24, 2019 · 0 comments
Assignees
Labels

Comments

@nicholascross
Copy link
Contributor

  • Create an executable go program
  • Copy the CRUD puppy from upstream master
  • Add a custom error type Error with fields Message and Code
  • Extend the Storer interface for all methods to also return error
  • Create errors for:
    • Value < 0
    • ID not found in Read, Update and Delete
  • Add locking for proper use of sync.Map
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant