Was thinking something like : 

errorParams={cause:cause, name:exception.name, message:exception.message, stack:exception.stack, data:exception, browser:navigator.userAgent};