LRResult

data class LRResult(val success: Boolean, val error: LRSafeRiderError? = null, val message: String? = null)

Result of an API operation

Constructors

Link copied to clipboard
constructor(success: Boolean, error: LRSafeRiderError? = null, message: String? = null)

Properties

Link copied to clipboard
val error: LRSafeRiderError? = null

the error if the operation failed

Link copied to clipboard
val message: String? = null

a message describing the result

Link copied to clipboard

true if the operation was successful, false otherwise