Fixed some compile errors
Fixed some compile errors
Header for errors library