Foundations Apex API Developer Reference

fferpcore.TransformErrorList

global inherited sharing class TransformErrorList

A collection of errors generated by a transform operation performed by the TransformService.

Methods

TransformErrorList

global TransformErrorList()

Create an empty TransformErrorList.

addError

global void addError(String message)

Add an error to the list.

Input Parameters

Name Type Description
message String Details of the error.

addError

global void addError(String message, String sourceDataId, String key)

Add an error to the list.

Input Parameters

Name Type Description
message String The error message.
sourceDataId String The identifier for the error data.
key String The error key.

getErrors

global List<String> getErrors()

Return Value

A list of all the error messages.

getAllErrors

global List<fferpcore.TransformError> getAllErrors()

Return Value

A list of all the TransformErrors.

© Copyright 2009–2024 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.