Skip to content

Commit 262e6e1

Browse files
tverneyrli
andauthored
Update plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqFeatureDev/FeatureDevExceptions.kt
Co-authored-by: Richard Li <[email protected]>
1 parent 5a75311 commit 262e6e1

File tree

1 file changed

+0
-3
lines changed
  • plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqFeatureDev

1 file changed

+0
-3
lines changed

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqFeatureDev/FeatureDevExceptions.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,3 @@ class ConversationIdNotFoundException(operation: String, desc: String?, cause: T
7373
val denyListedErrors = arrayOf("Deserialization error", "Inaccessible host", "UnknownHost")
7474
fun createUserFacingErrorMessage(message: String?): String? =
7575
if (message != null && denyListedErrors.any { message.contains(it) }) "$FEATURE_NAME API request failed" else message
76-
77-
fun noChangeRequiredException(operation: String, desc: String?): Nothing =
78-
throw NoChangeRequiredException(operation, desc, cause = null)

0 commit comments

Comments
 (0)