diff options
Diffstat (limited to 'archives/extend/attachments/20130221/fc119c69/attachment.html')
-rw-r--r-- | archives/extend/attachments/20130221/fc119c69/attachment.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/archives/extend/attachments/20130221/fc119c69/attachment.html b/archives/extend/attachments/20130221/fc119c69/attachment.html new file mode 100644 index 00000000..0a29dbf0 --- /dev/null +++ b/archives/extend/attachments/20130221/fc119c69/attachment.html @@ -0,0 +1,14 @@ +<tt> +<html><br> +<head><br> +<meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><br> +</head><br> +<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><br> +<div><br><br> +</div><br> +<div> I have a case where I am creating a resource through a POST. There are a number of places where the create can fail in a known manner, and we need to alert the user to the specifics of why. Is there a way to throw an arbitrary 500, with message, from<br> + within the REST handler? I can obviously just erlang:error(whatever), but the message content is ignored, and there is no way to pass back an updated response when doing that.</div><br> +</body><br> +</html><br> + +</tt> |