HTTP or connection error from a platform endpoint.
The following fields of this exception are public and can be accessed freely.
:status(integer/0ornil) - the HTTP status, ornilwhen no response arrived:body(term/0) - the response body, or a description of the connection error:headers(map/0ornil) - the response headers, such as"retry-after":url(String.t/0ornil) - the requested URL
Summary
Functions
Create an Elixir.Ltix.Errors.Unknown.TransportError without raising it.
Functions
@spec exception(opts :: Keyword.t()) :: %Ltix.Errors.Unknown.TransportError{ __exception__: term(), body: term(), bread_crumbs: term(), class: term(), headers: term(), path: term(), spec_ref: term(), splode: term(), stacktrace: term(), status: term(), url: term(), vars: term() }
Create an Elixir.Ltix.Errors.Unknown.TransportError without raising it.
Keys
- :status
- :body
- :headers
- :url
- :spec_ref