Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Sage_API_Enums_ErrorHandling_1_0

Marcus Corner edited this page Dec 9, 2015 · 1 revision

Overview

The Error Handling enum determines when to return errors from the API.

Options

Option Comments
FailOnFirstError Returns errors from the API upon the first error that is encountered
FailOnLastError Returns all the errors it can possibly collate from the API at the latest point possible
if(request.Config.ErrorHandling == Sage_API_Enums_ErrorHandling.FailOnFirstError)
{
    return response;
}
Clone this wiki locally