HealthDataException

open class HealthDataException @JvmOverloads constructor(val errorCode: Int?, val errorMessage: String, cause: Throwable? = null) : RuntimeException

An exception thrown by the Samsung Health app. This contains one of the ErrorCodes and a message with details of the error.

Since

1.0.0

Parameters

cause

The cause for this error. By default: null

Inheritors

Constructors

Link copied to clipboard
constructor(errorCode: Int?, errorMessage: String, cause: Throwable? = null)

A constructor.

Properties

Link copied to clipboard

Retrieves the error code number.

Link copied to clipboard

Retrieves the error message.

Preferences Submitted

You have successfully updated your cookie preferences.