12.4.19 Errors and warnings
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Foreign Language Interface
        • The Foreign Include File
          • Errors and warnings
            • PL_warning()
            • PL_fatal_error()
            • PL_system_error()
            • PL_api_error()
            • PL_print_message()
    • Packages
Availability:C-language interface function
int PL_system_error(format, a1, ...)
As PL_fatal_error(), but using [ERROR: system error:] and provides additional technical details such as the thread that trapped the error and backtrace of the C and Prolog stacks. This function should be used to when an unexpected and unrepairable error is detected. For example, Prolog uses this after it finds an inconsistency in the data during garbage collection.