moves error messages into exceptions file