v.0.6.3 stable

This commit is contained in:
Sergey Chernov 2025-03-07 03:00:58 +03:00
parent f22ecf493b
commit 74c8bdde71
3 changed files with 6 additions and 2 deletions

View File

@ -16,7 +16,7 @@ plugins {
}
group = "net.sergeych"
version = "0.6.3-SNAPSHOT"
version = "0.6.3"
repositories {
mavenCentral()

View File

@ -10,6 +10,10 @@
package net.sergeych.kiloparsec
/**
* External errors wich needs to be encoded with a specific code
* should implement this interface so it will be serialized properly.
*/
interface ExceptionWithCode {
val code: String
val message: String?

View File

@ -40,7 +40,7 @@ open class KiloInterface<S> : LocalInterface<KiloScope<S>>() {
registerError { RemoteInterface.UnknownCommand(it) }
registerError { RemoteInterface.InternalError(it) }
registerError { RemoteInterface.ClosedException(it) }
// registerError { RemoteInterface.SecurityException(it) }
registerError { RemoteInterface.SecurityException(it) }
registerError { RemoteInterface.InvalidDataException(it) }
registerError { RemoteInterface.RemoteException(it) }
registerError { IllegalStateException() }