Docs Menu
API Developer Guide / middleware / pub / service / throwException

Service: throwException

This service is designed to intentionally throw an exception with a specified error message. It can be used to simulate and test error-handling scenarios within the pipeline.

Input Parameter:

Name Type Description
msg: String Exception Message