AS a user of the package, I should receive an error message if no successful result is returned #53

Closed
opened 2023-03-04 13:30:19 +00:00 by Vylpes · 2 comments
Owner

Story Points: 2


AS a user of the package, I should receive an error message if no successful result is returned
SO THAT I know what exactly went wrong in the function

Acceptance Criteria

AS a user of the package
GIVEN I run the script
AND it receives an error
WHEN the script returns
THEN the script should return with an error code and message

Subtasks

  • Add error code and message
  • Update tests
  • #91

Notes

  • The error code should be in an enum
Story Points: 2 --- AS a user of the package, I should receive an error message if no successful result is returned SO THAT I know what exactly went wrong in the function ## Acceptance Criteria AS a user of the package GIVEN I run the script AND it receives an error WHEN the script returns THEN the script should return with an error code and message ## Subtasks - [x] Add error code and message - [x] Update tests - [x] #91 ## Notes - The error code should be in an enum
Vylpes added the
type
story
needs criteria
needs estimate
labels 2023-03-04 13:31:09 +00:00
Vylpes added this to the 2.2 milestone 2023-06-03 14:23:32 +01:00
Vylpes changed title from Add error message if no successful result returned to AS a user of the package, I should receive an error message if no successful result is returned 2023-07-02 14:43:56 +01:00
Vylpes removed the
needs criteria
label 2023-07-02 14:46:27 +01:00
Vylpes removed the
needs estimate
label 2023-07-30 14:45:21 +01:00
Vylpes self-assigned this 2023-09-03 15:04:39 +01:00
Vylpes added this to the 2.2 Sprint 1 project 2023-09-03 15:04:54 +01:00
Vylpes started working 2023-09-13 10:50:03 +01:00
Vylpes stopped working 2023-09-13 11:17:59 +01:00
27 minutes 56 seconds
Member

This mostly works, but we need a catch on the fetch as well, because if that fails it still doesn't send the new error system

This mostly works, but we need a catch on the fetch as well, because if that fails it still doesn't send the new error system
VylpesTester added spent time 2023-09-16 15:20:21 +01:00
5 minutes
Vylpes modified the project from 2.2 Sprint 1 to 2.2 Sprint 2 2023-10-15 16:11:03 +01:00
Member

This has passed testing, it now gives an error code and message on failure

Screenshot 2023-10-21 at 14.54.39

This has passed testing, it now gives an error code and message on failure ![Screenshot 2023-10-21 at 14.54.39](/attachments/e26f5d99-dc16-4dc3-ad90-cc7282090823)
VylpesTester added spent time 2023-10-21 14:55:16 +01:00
5 minutes
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Total time spent: 37 minutes 56 seconds
Vylpes
27 minutes 56 seconds
VylpesTester
10 minutes
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: RabbitLabs/random-bunny#53
No description provided.