Changed error buffer mesage to use std::system_error