simple string formatting for errors