Skip to content

Update server.js#2

Open
ThomasKim13 wants to merge 1 commit into
cdnmonitor:mainfrom
ThomasKim13:patch-1
Open

Update server.js#2
ThomasKim13 wants to merge 1 commit into
cdnmonitor:mainfrom
ThomasKim13:patch-1

Conversation

@ThomasKim13
Copy link
Copy Markdown

Here I added some error handling functions.
If a pseudocode execution error occurs (an instance of PseudocodeExecutionError), it returns a 400 Bad Request status with a message indicating a pseudocode execution error. If other types of errors occur (e.g., internal server errors), it returns a 500 Internal Server Error status with a relevant error message.

Here I added some error handling functions. 
If a pseudocode execution error occurs (an instance of PseudocodeExecutionError), it returns a 400 Bad Request status with a message indicating a pseudocode execution error.
If other types of errors occur (e.g., internal server errors), it returns a 500 Internal Server Error status with a relevant error message.
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