Raise an error on attempt to read unknown attribue on a resource.