a!integrationError() Function

Creates an integration error value. Use when configuring custom error handling for integration objects.

Syntax

a!integrationError ( title, message, detail )

title (text): A short summary of the error or the error type.

message (text): A description of the error.

detail (text): Technical details about the error, including error codes or underlying error messages.

Example

fv!success, fv!error, and fv!result can be used to get response values from any errors. In a call to another system that does not support PUT, the following error message:

1
2
3
4
5
=a!integrationError(
  title: fv!error.title,
  message: fv!result.statusCode & "- " & fv!error.message,
  detail: fv!error.detail
)

Results in:

1
2
3
4
IntegrationError
    title: "The external system cannot support the request"
    message: "405 - The requested URL does not support the PUT method"
    detail: "HTTP/1.1 405 Method not allowed"
FEEDBACK