Commit 8f544c61 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

Describe error data in url-retrieve better

* lisp/url/url.el (url-retrieve): Describe the error data more in
depth (bug#25735).
parent ceed3d75
Pipeline #1668 passed with stage
in 51 minutes and 1 second
...@@ -136,9 +136,11 @@ STATUS is a plist representing what happened during the request, ...@@ -136,9 +136,11 @@ STATUS is a plist representing what happened during the request,
with most recent events first, or an empty list if no events have with most recent events first, or an empty list if no events have
occurred. Each pair is one of: occurred. Each pair is one of:
\(:redirect REDIRECTED-TO) - the request was redirected to this URL \(:redirect REDIRECTED-TO) - the request was redirected to this URL.
\(:error (ERROR-SYMBOL . DATA)) - an error occurred. The error can be
signaled with (signal ERROR-SYMBOL DATA). \(:error (error type . DATA)) - an error occurred. TYPE is a
symbol that says something about where the error occurred, and
DATA is a list (possibly nil) that describes the error further.
Return the buffer URL will load into, or nil if the process has Return the buffer URL will load into, or nil if the process has
already completed (i.e. URL was a mailto URL or similar; in this case already completed (i.e. URL was a mailto URL or similar; in this case
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment