FireDAC Components for REST

Build 23.0.8804


The api:finally keyword is used to execute a section of a script after control leaves an api:call, api:try, or api:script statement. It is a convenient way to clean up the formatting of generated documents.



Control Attributes



The api:finally block is executed when an unhandled exception occurs. This can be used to ensure that tags are closed:

<api:call op="listCustomers" out="customer">
        <api:enum item="customer">
      <api:enum item="customer">
  </table> <!-- ensure tags are still closed -->

See Also

  • api:try: Define a scope to catch exceptions.
  • api:call: Loop over items returned by an operation.
  • api:script: Create a script block.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8804