diff options
Diffstat (limited to '_build/static/archives/extend/attachments/20150114')
-rw-r--r-- | _build/static/archives/extend/attachments/20150114/3267f73e/attachment-0001.html | 4 | ||||
-rw-r--r-- | _build/static/archives/extend/attachments/20150114/3267f73e/attachment.html | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/_build/static/archives/extend/attachments/20150114/3267f73e/attachment-0001.html b/_build/static/archives/extend/attachments/20150114/3267f73e/attachment-0001.html new file mode 100644 index 00000000..e297a303 --- /dev/null +++ b/_build/static/archives/extend/attachments/20150114/3267f73e/attachment-0001.html @@ -0,0 +1,4 @@ +<tt> +<div dir="ltr">Hey there,<div><br></div><div>maybe I'm missing the obvious. What I want to do is add some generic handler for exception handling. Say we have a set of resources some of which delegating stuff to external, other services. These calls might result in a</div><div><br></div><div>throw({error, timeout})</div><div><br></div><div>for instance. How would I add/modify cowboy's middleware (right place?) to handle those (known) exception and return a custom error (like 504 - Gateway Timeout).</div><div><br></div><div>Thanks for any hints,</div><div><br></div><div>Steve</div></div><br> + +</tt> diff --git a/_build/static/archives/extend/attachments/20150114/3267f73e/attachment.html b/_build/static/archives/extend/attachments/20150114/3267f73e/attachment.html new file mode 100644 index 00000000..e297a303 --- /dev/null +++ b/_build/static/archives/extend/attachments/20150114/3267f73e/attachment.html @@ -0,0 +1,4 @@ +<tt> +<div dir="ltr">Hey there,<div><br></div><div>maybe I'm missing the obvious. What I want to do is add some generic handler for exception handling. Say we have a set of resources some of which delegating stuff to external, other services. These calls might result in a</div><div><br></div><div>throw({error, timeout})</div><div><br></div><div>for instance. How would I add/modify cowboy's middleware (right place?) to handle those (known) exception and return a custom error (like 504 - Gateway Timeout).</div><div><br></div><div>Thanks for any hints,</div><div><br></div><div>Steve</div></div><br> + +</tt> |