Package org.brightify.hyperdrive.krpc.error

Types

ConnectionClosedException
Link copied to clipboard
class ConnectionClosedException : CancellationException
class ConnectionClosedException
class ConnectionClosedException : CancellationException
InternalServerError
Link copied to clipboard
common
class InternalServerError : Throwable, RPCError
RPCErrorSerializer
Link copied to clipboard
common
class RPCErrorSerializer(register: PolymorphicModuleBuilder<RPCError>.() -> Unit) : KSerializer<RPCError>
RPCNotFoundError
Link copied to clipboard
common
class RPCNotFoundError(call: ServiceCallIdentifier) : Throwable, RPCError
RPCProtocolViolationError
Link copied to clipboard
common
class RPCProtocolViolationError(debugMessage: String) : Throwable, RPCError
RPCStreamTimeoutError
Link copied to clipboard
common
class RPCStreamTimeoutError(timeoutInMillis: Long) : Throwable, RPCError
UnknownRPCReferenceException
Link copied to clipboard
common
class UnknownRPCReferenceException(reference: RPCReference) : Throwable, RPCError
UnrecognizedRPCError
Link copied to clipboard
common
class UnrecognizedRPCError(statusCode: RPCError.StatusCode, debugMessage: String, errorType: String) : Throwable, RPCError

Functions

asRPCError
Link copied to clipboard
common
fun Throwable.asRPCError(): RPCError
ConnectionClosedException
Link copied to clipboard
common
fun ConnectionClosedException(message: String = "Connection has been closed", cause: Throwable? = null): ConnectionClosedException
RPCError
Link copied to clipboard
common
fun Throwable.RPCError(): RPCError