Added Error helper class