Creates an agent error with the provided message.
message
AgentFetchError({this.statusCode, this.statusText, this.body});