chirpsdk / io.chirp.chirpsdk.models / ChirpError

ChirpError

class ChirpError

A data class containing information about a Chirp error that has occurred.

Version
1.0.0

Since
3.0.0

Constructors

<init>

ChirpError(errorCode: Int)
ChirpError(chirpErrorCode: ChirpErrorCode)
ChirpError(errorCode: Int, message: String)
ChirpError(chirpErrorCode: ChirpErrorCode, message: String)

ChirpError

Properties

code

val code: Int

Int code that represent the error

message

val message: String

String message that represent the error

Functions

toString

fun toString(): String

Returns the string error message