Skip to content

fix error type in ReservationCanceledEventHandler#6

Open
hhko wants to merge 1 commit intoDometrain:mainfrom
hhko:fix/error-type-in-ReservationCanceledEventHandler
Open

fix error type in ReservationCanceledEventHandler#6
hhko wants to merge 1 commit intoDometrain:mainfrom
hhko:fix/error-type-in-ReservationCanceledEventHandler

Conversation

@hhko
Copy link
Copy Markdown
Contributor

@hhko hhko commented Mar 1, 2025

Ex.

Before

var removeBookingResult = participant.RemoveFromSchedule(notification.Session);
if (removeBookingResult.IsError)
{
    throw new EventualConsistencyException(
        ReservationCanceledEvent.ParticipantNotFound

After

var removeBookingResult = participant.RemoveFromSchedule(notification.Session);
if (removeBookingResult.IsError)
{
    throw new EventualConsistencyException(
        ReservationCanceledEvent.ParticipantScheduleUpdateFailed           // <-

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