customError
Represents a custom error.
new CustomError(param)
acceptCalladdParticipantconferencedeclineCalldialendCallgetAgentStatusgetPhoneContactsholdmutepauseRecordingresumeresumeRecordingsetAgentConfigsetAgentStatussuperviseCallsupervisorBargeInsupervisorDisconnectunmute
| Field | Type | Description |
|---|---|---|
| param | object | Contains the parameters associated with the custom error message. |
| param.labelName | string | The name of the custom label in your org. This name is defined when you create the custom label for the error message. |
| param.namespace | string | The alphanumeric identifier of your Salesforce org’s namespace prefix. The namespace is a part of the label that makes up the required full name used for managed packages. The full name is <namespace.labelName>. If you don’t have a namespace prefix, set this value to C. |
| param.message | CallInfo | Optional. Additional details about the message for logging purposes. This field is optional and is not exposed. |