ErrorResponse

data class ErrorResponse(type: ErrorResponse.Type, message: String)

Types

Type
Link copied to clipboard
enum Type : Enum<ErrorResponse.Type>

Functions

component1
Link copied to clipboard
operator fun component1(): ErrorResponse.Type
component2
Link copied to clipboard
operator fun component2(): String
copy
Link copied to clipboard
fun copy(type: ErrorResponse.Type, message: String): ErrorResponse
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

message
Link copied to clipboard
val message: String
type
Link copied to clipboard
val type: ErrorResponse.Type