Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Anviking committed Jul 18, 2015
1 parent 9790deb commit 3a3affa
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,20 @@ MissingKey at object.repo.owner: lllloogon in {
login = anviking;
}
```

## Errors
```swift
public enum DecodingError {
public struct Info {
var path: [String]
var object: AnyObject?
var rootObject: AnyObject? // Not implemented yet
}

case MissingKey(key: String, info: Info)
case TypeMismatch(type: Any.Type, info: Info)
}
```
## Flexibility
The `Decodable`-protocol and the `=>`-operator should in no way make you committed to use them everywhere.

Expand Down

0 comments on commit 3a3affa

Please sign in to comment.