What happens if the GetEmployeeById (https://drive.google.com/file/d/1Q5JfXEu9L5OsY017HLrMbI8ZIsRl8BJ3/view?usp=sharing) Aggregate does not return any record?

Consider the following Server Action.

What happens if the GetEmployeeById (https://drive.google.com/file/d/1Q5JfXEu9L5OsY017HLrMbI8ZIsRl8BJ3/view?usp=sharing) Aggregate does not return any record?
A . The DatabaseException flow is executed.
B. The RecordNotFound flow is executed.
C. No exception flow is executed.
D. The module’s global exception handler is executed.

Answer: B

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments