Record and Analyze server site exception

Hello,

Is PIWIK the right tool to use in server side exceptions? for example if i press button that executes a call to datasource and i got fault, it is best practice to use PIWIK in counting them for me to use later understand the numbers? or i should use other technique?

thanks,
Shahar