[API] Added actions to track exceptions and errors