Skip to content

Commit

Permalink
chore: modify exception error message in BriefingApiErrorException
Browse files Browse the repository at this point in the history
  • Loading branch information
gomsang committed Jun 20, 2024
1 parent 0911164 commit 699dae9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class BriefingApiErrorException(
val errorCode: String,
val errorMessage: String,
val httpStatusCode: Int
) : Exception("Error Code: $errorCode, HTTP Status: $httpStatusCode, Message: $errorMessage") {
) : Exception("$errorMessage [$errorCode]") {

override fun toString(): String {
return "BriefingApiErrorException(errorCode='$errorCode', errorMessage='$errorMessage', httpStatusCode=$httpStatusCode)"
Expand Down

0 comments on commit 699dae9

Please sign in to comment.