A sealed class representing different states of a resource.
The type of data contained in the resource.
Represents the error state of a resource.
Represents the loading state of a resource.
Represents the success state of a resource.
The actual data.
A message associated with the resource, usually describing an error.