NotificationsApiException

class NotificationsApiException(val errorCode: String? = null, message: String? = null, val messageCode: String? = null, val source: String? = null) : Exception

An exception derived from a Salesforce Notifications API endpoint failure response.

See https://salesforce.quip.com/dwjPAf3py4Br TODO: Replace the documentation link with the final documentation. ECJ20250320

Parameters

errorCode

The Salesforce Notifications API error code

message

The Salesforce Notifications API error message

messageCode

The Salesforce Notifications API error code

source

The original Salesforce Notifications API error response body

Constructors

Link copied to clipboard
constructor(errorCode: String? = null, message: String? = null, messageCode: String? = null, source: String? = null)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
val errorCode: String? = null
Link copied to clipboard
open val message: String?
Link copied to clipboard
val messageCode: String? = null
Link copied to clipboard
val source: String? = null