errors and gems