- From: Mark Nottingham <notifications@github.com>
- Date: Mon, 23 Mar 2015 15:57:47 -0700
- To: w3ctag/spec-reviews <spec-reviews@noreply.github.com>
Received on Monday, 23 March 2015 22:58:14 UTC
@domenic -
> OK, this is a bit worrying. So given new TypeError("custom ID must be a string"), your mapping is:
>
> "type": "TypeError"
> "title": "Type Error"
> "detail": "<...gory stack details here ...>"
> So there isn't even any place for message to go?
No, that would be something like
"type": "customIdType"
"title": "custom ID must be a string"
"detail": <any specifics>
or, more likely something like:
"type": "dataValidationError",
"title": "Data Validation Error",
"detail": [
{
"fieldName": "customID",
"expectedType": "foo"
}
]
---
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/spec-reviews/issues/37#issuecomment-85239657
Received on Monday, 23 March 2015 22:58:14 UTC