Error: custom reponse error message
fundon opened this issue · comments
Fangdun Tsai commented
Examples:
-
https://zeit.co/docs/api#api-basics/errors
Struct:
{ "error": { "code": "forbidden", "message": "Not authorized" } }
-
https://github.com/graphql/graphql-spec/blob/master/spec/Section%207%20--%20Response.md
-
https://www.apollographql.com/docs/apollo-server/data/errors/
Struct
{ "errors": [ { "message": "" } ] }
Fangdun Tsai commented
Landed in 7137b9c.