RFC: Composite pattern for error data structures

could this be a way to go? 
We might have to rethink public/private visibility but with this pattern, almost anything is possible client side, i think.
this is wrong format. Quote form jsonapi:
```
Error objects SHOULD be returned as a collection keyed by "errors" in the top level of a JSON API document, and SHOULD NOT be returned with any other top level resources.
```

so, the correct format for an error would be like this, and it also does not need a title for an error as far as I understood it. It is not a `key/value`, it't just a collection

```
{
    "errors": [{
        "id": "SomeErrorID",
        "path": "Title"
    }, {
        "id": "SomeOtherErrorID",
        "path": "Title2"
    }]
}
```