Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #27 from ipfs/feature/error-datastructure
Browse files Browse the repository at this point in the history
Added an Error datastructure
  • Loading branch information
RichardLitt committed Jan 29, 2016
2 parents 849c065 + c5f000f commit 6d8e231
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions apiary.apib
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,16 @@ MerkleDAG.

# Data Structures

## Error (object)

The IPFS error object

+ message (string) - the error message
+ code (enum[int]) - the status code
+ Members
+ `0`
+ `1`

## ndjson (object)

Newline delimited JSON
Expand Down

0 comments on commit 6d8e231

Please sign in to comment.