@type t() :: %Meili.Error{ __exception__: term(), code: String.t() | nil, link: String.t() | nil, message: String.t(), reason: term() | nil, status_code: integer() | nil, type: String.t() | nil }
@spec from_reason(term()) :: t()
@spec from_response(map() | Req.Response.t()) :: t()