ErrorCode

@Serializable(with = ErrorCodeSerializer::class)
sealed interface ErrorCode(source)

An incomplete set of error codes that may appear in JSON-RPC responses.

Inheritors

Types

Link copied to clipboard
@Serializable
enum Defined : Enum<ErrorCode.Defined> , ErrorCode
Link copied to clipboard
@Serializable
data class Unknown(val code: Int) : ErrorCode

Properties

Link copied to clipboard
abstract val code: Int