error classes relating to resources, aligned with http codes