Mark errors as deprecated