mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2025-09-08 09:49: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)
|
val errorMessage = readString(errIn)
|
||||||
|
|
||||||
when (exitCode) {
|
when (exitCode) {
|
||||||
|
UnspecificFailure.EXIT_CODE ->
|
||||||
|
throw UnspecificFailure(
|
||||||
|
"External SOP backend reported an unspecific error ($exitCode):\n$errorMessage")
|
||||||
NoSignature.EXIT_CODE ->
|
NoSignature.EXIT_CODE ->
|
||||||
throw NoSignature(
|
throw NoSignature(
|
||||||
"External SOP backend reported error NoSignature ($exitCode):\n$errorMessage")
|
"External SOP backend reported error NoSignature ($exitCode):\n$errorMessage")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue