Reducing the size of an error message