spec icon indicating copy to clipboard operation
spec copied to clipboard

How to handle error messaging?

Open matthewhudson opened this issue 13 years ago • 1 comments

It would be nice if blocks could output an error message. Maybe send a 4xx/5xx status code along with an object that looks something like this:

{ message: "Block failed because..." }

matthewhudson avatar Dec 03 '12 02:12 matthewhudson

See json-rpc spec.

On Sun, Dec 2, 2012 at 6:53 PM, Matthew Hudson [email protected]:

It would be nice if blocks could output an error message. Maybe send a 4xx/5xx status code along with an object that looks something like this:

{ message: "Block failed because..." }

— Reply to this email directly or view it on GitHubhttps://github.com/webpipes/spec/issues/6.

Jeff Lindsay http://progrium.com

progrium avatar Dec 03 '12 02:12 progrium