SessionCam detects pre-defined error messages on your site. In order for this to take place, SessionCam will look for any classes in your HTML which contain the string "error". To allow the tacking of errors which fall outside of this detection method, or to include any 'custom' messages, you can add the class 'sessioncamlogerror' to any parent element to capture the contents of the element as an error.
For example; the code below will return the error message: "An Error has been encountered"
<br> An Error has been encountered
<br> The database lookup failed with exit code: 1234