mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2025-09-07 17:29:44 +02:00
ExternalSOP: Map UnspecificError
This commit is contained in:
parent
ab13cc1de1
commit
28d06c330d
1 changed files with 3 additions and 0 deletions
|
@ -120,6 +120,9 @@ class ExternalSOP(
|
|||
val errorMessage = readString(errIn)
|
||||
|
||||
when (exitCode) {
|
||||
UnspecificFailure.EXIT_CODE ->
|
||||
throw UnspecificFailure(
|
||||
"External SOP backend reported an unspecific error ($exitCode):\n$errorMessage")
|
||||
NoSignature.EXIT_CODE ->
|
||||
throw NoSignature(
|
||||
"External SOP backend reported error NoSignature ($exitCode):\n$errorMessage")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue