Skip to content

PROJECT: Schools (Web31) [MVP] - #3

Open
wmemorgan wants to merge 10 commits into
masterfrom
mvp-web31
Open

PROJECT: Schools (Web31) [MVP]#3
wmemorgan wants to merge 10 commits into
masterfrom
mvp-web31

Conversation

@wmemorgan

@wmemorgan wmemorgan commented Jul 21, 2020

Copy link
Copy Markdown
Owner

MVP Requirements

Add appropriate exception handling routines.

  • You must specifically handle the following exceptions:
    • a resource is not found where it should be - for example, you look up a student who is not there
    • a resource is found where it should not be - for example, you try to enroll a student in a course where they are already enrolled
    • a non-handled endpoint is accessed (a URL not found exception)
  • All other exceptions should be handled by some generic exception handled that you provide.
  • All exception messages should start with the phrase "Found an issue with School: " followed by any system-generated messages you think appropriate.
  • The following is the format for the error messages
    • Title - The title of the exception
    • Status - Http Status Code
    • detail - Detailed message for the client
    • timestamp - date and time of the exception
    • developer - message for developers about this error message, things like class and code causing the error
    • List of Validation Errors - If data validation errors caused this error, the list of them will appear here

This change is Reviewable

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.

1 participant