error event

write error message