InvalidNotificationBody

data class InvalidNotificationBody(val notificationBody: String?) : WhitelabelPayError

Thrown when an empty or null notification body is passed to WhitelabelPay.handleNotification.

Constructors

Link copied to clipboard
constructor(notificationBody: String?)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
Link copied to clipboard

Functions

Link copied to clipboard
open override fun message(): String

Function that provides the error message text.