Skip to content

Commit

Permalink
[FEAT/#105] 카테고리 목록 조회 에러 케이스 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyobeen-Park committed Jan 21, 2025
1 parent e14d6a8 commit 80041bf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package com.spoony.spoony.domain.entity

data class FeedEntity(
val userId: Int,
val userName
)
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ class ExploreViewModel @Inject constructor(
)
}
}
.onFailure {
_state.update {
it.copy(
categoryList = UiState.Failure("카테고리 목록 조회 실패")
)
}
}
}
}
}
Expand Down

0 comments on commit 80041bf

Please sign in to comment.