• Output an error message to the user interface. Error messages are used to inform users about calculation failures or other issues that prevent normal pricing execution.

    Parameters

    • message: string

      The error message to display to the user

    Returns void

    Example

    error("Unable to calculate price - missing required attributes");
    error("File processing failed - please check file format");

Generated using TypeDoc