microsub icon indicating copy to clipboard operation
microsub copied to clipboard

standardized format for errors

Open sknebel opened this issue 7 years ago • 3 comments

It'd be nice to have some standard for error messages, to be able to show them to the user in a nicer way than a plain HTTP transcript. Maybe just something along the lines of "use json, "message":"your error text here" for starters?

sknebel avatar Jul 24 '18 10:07 sknebel

Probably best to use the same format as Micropub: https://www.w3.org/TR/micropub/#error-response

aaronpk avatar Jul 24 '18 13:07 aaronpk

I was about to file this one, so just a 1+. I'm going to use the Micropub one's for now, seems like a good choice.

sebsel avatar Nov 01 '18 18:11 sebsel

Aperture uses this format.

dshanske avatar Jul 24 '21 19:07 dshanske