Lumigo’s Programmatic Errors are custom errors that are logged from your Lambda handler’s code. These Programmatic Errors are detected by Lumigo during analysis, and result in an Alert being sent.
In this first image, you can see a programmatic error titled “Prog Error” appear as a viable Issue Type in the Issues list.
This image shows how programmatic errors are broken out during the graph view of a transaction.
Programmatic Errors can be configured from anywhere within your Lambda handler’s code. Choose the appropriate snippet below:
from lumigo_tracer import report_error report_error("<msg>") *OR* print("[LUMIGO_LOG] <YOUR_MESSAGE>")
Already have your own error keyword?
That's great! Contact us by clicking the Intercom button in the lower-right-hand corner of your screen, or by emailing us at [email protected], and we'll apply it for your project.
Updated 6 months ago