Map csrf details to error message