Provides struct and type for a ResError
@type t() :: %OpenAi.ResError{ code: String.t() | nil, message: String.t(), param: String.t() | nil, type: String.t() }