Class representing an erroneous resource.
The type of the data.
The data of the resource. It can be null.
The message of the resource. It can be null.