Skip to content

Commit

Permalink
add exception reason
Browse files Browse the repository at this point in the history
  • Loading branch information
fcs-ts committed Aug 9, 2024
1 parent c23f3aa commit 9627f0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ enum class EntityType {
"vendor" -> VENDOR
"brand" -> BRAND
"url" -> URL
else -> throw IllegalArgumentException()
else -> throw IllegalArgumentException("not valid entity type: $value")
}
}
}

0 comments on commit 9627f0f

Please sign in to comment.