Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for error #10

Open
carlesjove opened this issue Nov 27, 2014 · 0 comments
Open

Add support for error #10

carlesjove opened this issue Nov 27, 2014 · 0 comments
Labels

Comments

@carlesjove
Copy link
Owner

From the spec:

The error object contains additional information on the latest error condition reported by the server. This is an OPTIONAL object and there MUST NOT be more than one error object in a Collection+JSON document. It is a top-level document property.

The following elements MAY appear as child properties of the error object: code message and title.

// sample error object
{
  "error" :
  {
    "title" : STRING,
    "code" : STRING,
    "message" : STRING
  }
}
@carlesjove carlesjove added this to the Version 0.1.0 milestone Nov 27, 2014
@carlesjove carlesjove added spec and removed feature labels Dec 14, 2014
@carlesjove carlesjove removed this from the Version 0.3.0 milestone Jan 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant